Sign in Join
FPDoc Onlineexperiment

AnsiSameStr function

In unit sysutils

Checks whether 2 strings are the same (case sensitive).

Declaration

pascal
function AnsiSameStr(const s1: string; const s2: string): Boolean

Description

SameText calls AnsiCompareStr with S1 and S2 as parameters and returns True if the result of that call is zero, or False otherwise.

A widestring manager must be installed in order for this function to work correctly with various character sets.

Errors

None.

See also

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