[Overview][Constants][Types][Procedures and functions] Reference for unit 'strutils' (#rtl)

SoundexSimilar

Check whether 2 strings have equal soundex values

Declaration

Source position: line 0

function SoundexSimilar(

  const AText: String;

  const AOther: String;

  ALength: TSoundexLength

):Boolean;

function SoundexSimilar(

  const AText: String;

  const AOther: String

):Boolean;

Arguments

AText

  

First string

AOther

  

Second string

ALength

  

Soundex length (default 4)

Function result

Trueif the strings have the same soundex value, Falseotherwise

Arguments

AText

  

First string

AOther

  

Second string

Function result

Trueif the strings have the same soundex value, Falseotherwise

Description

SoundexSimilarreturns Trueif the soundex codes (with length ALength) of ATextand AOtherare equal, and Falseif they are not.

Errors

None.

See also

Soundex

  

Compute the soundex of a string

SoundexCompare

  

Compare soundex values of 2 strings.

SoundexInt

  

Soundex value as an integer.

SoundexProc

  

Default AnsiResemblesText implementation.

SoundexWord

  

Calculate a word-sized soundex value

Soundex

  

Compute the soundex of a string