Converts a string into an integer that represents its phonetic value.
function SoundexInt(const AText: string; ALength: TSoundexIntLength = 4): Integer;
int SoundexInt(const AnsiString AText, TSoundexIntLength ALength = 4);
StrUtils
SoundexInt uses a Soundex algorithm to convert the string specified by AText into a phonetic representation where each character of the resulting string represents one of six families of similar phonemes. It then returns an integer that uniquely represents the first ALength Soundex codes in that string representation.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|