[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

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

CompareStr

  

Compare 2 ansistrings case-sensitively, ignoring special characters.


Documentation generated on: Jun 23 2021