Soundex¶
Compute the soundex of a string.
Declaration¶
Source position: strutils.pp line 157
function Soundex(const AText: string; ALength: TSoundexLength) : string;
function Soundex(const AText: string) : string;
Description¶
Soundex computes a soundex code for AText. The resulting code will at most have ALength characters. The soundex code is computed according to the US system of soundex computing, which may result in inaccurate results in other languages.
Note that AText may not contain null characters.
Errors¶
None.
See also¶
| Name | Description |
|---|---|
| SoundexCompare | Compare soundex values of 2 strings. |
| SoundexInt | Soundex value as an integer. |
| SoundexProc | Default AnsiResemblesText implementation. |
| SoundexWord | Calculate a word-sized soundex value. |
| SoundexSimilar | Check whether 2 strings have equal soundex values. |