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

WideCompareText

Compare two widestrings (ignoring case).

Declaration

Source position: syswideh.inc line 29

function WideCompareText(

  const s1: WideString;

  const s2: WideString

):PtrInt;

Description

WideCompareStr compares two widestrings and returns the following result:

< 0
if S1<S2.
0
if S1=S2.
> 0
if S1>S2.

The comparision takes into account wide characters, i.e. it takes care of strange accented characters. Contrary to WideCompareStr, the comparision is case insensitive.

Errors

None.

See also

WideCompareStr

  

Compare two widestrings (case sensitive)

WideSameStr

  

Check whether two widestrings are the same (case sensitive)

WideSameText

  

Check whether two widestrings are the same (ignoring case)

The latest version of this document can be found at lazarus-ccr.sourceforge.net.