Sign in Join
FPDoc Onlineexperiment

SoundexSimilar function

In unit StrUtils

Check whether 2 strings have equal soundex values.

Declaration

pascal
function SoundexSimilar(const AText: string; const AOther: string; 
 ALength: TSoundexLength): Boolean

Arguments

AText

First string.

AOther

Second string.

ALength

Soundex length (default 4).

Function result

True if the strings have the same soundex value, False otherwise.

Description

SoundexSimilar returns True if the soundex codes (with length ALength) of AText and AOther are equal, and False if they are not.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.