RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.Soundex Function

Converts a string into its Soundex representation.

Pascal
function Soundex(const AText: string; ALength: TSoundexLength = 4): string;
C++
AnsiString Soundex(const AnsiString AText, TSoundexLength ALength = 4);

StrUtils

Soundex converts 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 returns up to the first ALength Soundex codes in the resulting string representation. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!