RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.SoundexWord Function

Converts a string into a Word that represents its phonetic value.

Pascal
function SoundexWord(const AText: string): Word;
C++
Word SoundexWord(const AnsiString AText);

SoundexWord 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 unsigned 16-bit value that uniquely represents the first 4 Soundex codes in that string representation. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!