Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

SameStr

Check whether 2 strings are the same, case insensitive.

Declaration

Source position: sysstrh.inc line 88

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

CompareStr

  

Compare 2 ansistrings case-sensitively, ignoring special characters.


Documentation generated on: Oct 27 2024