Skip to content

AnsiResemblesText

Check whether 2 strings resemble each other.

Declaration

Source position: strutils.pp line 37

function AnsiResemblesText(const AText: AnsiString; 
                          const AOther: AnsiString) : Boolean;

Arguments

Name Description
AText First text to compare.
AOther Second text to compare.

Function result

True if the words match, False if not.

Description

AnsiResemblesText will check whether AnsiResemblesProc is set. If it is not set, False is returned. If it is set, AText and AOtherText are passed to it and it's result is returned.

Errors

None.

See also

Name Description
AnsiResemblesProc Procedural variable, called when checking 2 strings for resemblances in AnsiResemblesText.
SoundexProc Default AnsiResemblesText implementation.