[Overview][Resource strings][Constants][Types][Procedures and functions][Index] 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

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

AnsiResemblesProc

  

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

SoundexProc

  

Default AnsiResemblesText implementation.


Documentation generated on: Nov 16 2015