Skip to content

WideSameText

Check whether two widestrings are the same (ignoring case)

Declaration

Source position: syswideh.inc line 23

  function WideSameText(const s1: WideString; const s2: WideString)
                        : Boolean;

Description

WideSameText returns True if WideCompareText returns 0 (zero), i.e. when S1 and S2 are the same string (taking into account case).

See also

Name Description
AnsiSameText Checks whether 2 strings are the same (case insensitive)
WideCompareStr Compare two widestrings (case sensitive)
WideCompareText Compare two widestrings (ignoring case).
WideSameStr Check whether two widestrings are the same (case sensitive)