System.StrUtils.SoundexWord
Delphi
function SoundexWord(const AText: string): Word;
C++
extern DELPHI_PACKAGE System::Word __fastcall SoundexWord(const System::UnicodeString AText);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.StrUtils.pas System.StrUtils.hpp |
System.StrUtils | System.StrUtils |
Description
Converts a string into a Word that represents its phonetic value.
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.