SameText

Checks whether 2 strings are the same (case insensitive)

Declaration

Source position: sysstrh.inc line 85

  function SameText(const s1: string; const s2: string) : Boolean
                   ;  Overload;
  function SameText(const s1: string; const s2: string; 
                   LocaleOptions: TLocaleOptions) : Boolean;  Overload;

Description

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

Errors

None.

See also

Name Description
AnsiSameStr Checks whether 2 strings are the same (case sensitive)
AnsiSameText Checks whether 2 strings are the same (case insensitive)
CompareText Compare 2 ansistrings case insensitive.