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

AnsiResemblesText

Check whether 2 strings resemble each other.

Declaration

Source position: strutils.pp line 29

function AnsiResemblesText(

  const AText: String;

  const AOther: String

):Boolean;

Arguments

AText

  

First text to compare

AOther

  

Second text to compare

Function result

Trueif the words match, Falseif not

Description

AnsiResemblesTextwill check whether AnsiResemblesProcis set. If it is not set, Falseis returned. If it is set, ATextand AOtherTextare passed to it and it's result is returned.

Errors

None.

See also

AnsiResemblesProc

  

Procedural variable, called when checking 2 strings for resemblances in AnsiResemblesText

SoundexProc

  

Default AnsiResemblesText implementation.