SameStr

Check whether 2 strings are the same, case insensitive

Declaration

Source position: sysstrh.inc line 87

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

Description

SameStr checks whether S1 and S2 are the same. This is equivalent to checking that CompareStr returns 0.

Errors

None.

See also

Name Description
CompareStr Compare 2 ansistrings case-sensitively, ignoring special characters.