Sign in Join
FPDoc Onlineexperiment

UnicodeSameStr function

In unit sysutils

Check whether 2 strings are equal.

Declaration

pascal
function UnicodeSameStr(const s1: UnicodeString; 
 const s2: UnicodeString): Boolean

Description

UnicodeSameStr checks whether the Unicode strings S1 and S2 are equal, case sensitively. The function returns True if the strings are equal, False if they are not. This function relies on a widestring manager to perform the actual comparison, as it will take into account various equivalent code points: it is not a simple byte-by-byte comparison.

See also

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