[Overview][Constants][Types][Procedures and functions] | Reference for unit 'strutils' (#rtl) |
Compare soundex values of 2 strings.
Source position: line 0
function SoundexCompare( |
const AText: String; |
const AOther: String; |
ALength: TSoundexLength |
):Integer; |
const AText: String; |
const AOther: String |
):Integer; |
AText |
|
First string. |
AOther |
|
Second string. |
ALength |
|
Length of soundexes to compare. |
0 if the soundexes are equal. Negative of the first is smaller as the second, positive otherwise.
AText |
|
First string. |
AOther |
|
Second string. |
0 if the soundexes are equal. Negative of the first is smaller as the second, positive otherwise.
SoundexCompare computes the soundex codes of AText and AOther and feeds these to CompareText. It will return -1 if the soundex code of AText is less than the soundex code of AOther, 0 if they are equal, and 1 if the code of AOther is larger than the code of AText.
None.
|
Compute the soundex of a string |
|
|
Soundex value as an integer. |
|
|
Default AnsiResemblesText implementation. |
|
|
Calculate a word-sized soundex value |
|
|
Check whether 2 strings have equal soundex values |
No notes exist for this page yet.