Method GetSoundex
GetSoundex(String)
Encodes a string using the Daitch-Mokotoff soundex algorithm with branching.
In case a string is encoded into multiple codes (see branching rules), the result will contain all codes, separated by '|'.
Example: the name "AUERBACH" is encoded as both
- 097400
- 097500
Thus the result will be "097400|097500".
Declaration
public virtual string GetSoundex(string source)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | A string to encode. |
Returns
Type | Description |
---|---|
System.String | A string containing a set of DM Soundex codes corresponding to the string supplied. |