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

SameText

Checks whether 2 strings are the same (case insensitive)

Declaration

Source position: sysstrh.inc line 75

function SameText(

  const s1: String;

  const s2: String

):Boolean;

Description

SameTextcalls CompareTextwith S1and S2as parameters and returns Trueif the result of that call is zero, or Falseotherwise.

Errors

None.

See also

CompareText

  

Compare 2 ansistrings case insensitive.

AnsiSameText

  

Checks whether 2 strings are the same (case insensitive)

AnsiSameStr

  

Checks whether 2 strings are the same (case sensitive)