Sign in Join
FPDoc Onlineexperiment

AnsiResemblesProc constant

In unit StrUtils

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

Declaration

pascal
AnsiResemblesProc: TCompareTextProc = @ SoundexProc

Description

This procedural variable is standard set to SoundexProc but can be overriden with a user-defined algorithm. This algorithm should return True if AText resembles AOtherText, or False otherwise. The standard routine compares the soundexes of the two strings and returns True if they are equal.

Errors

None

See also

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