[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazUTF8' (#lazutils)

CompareStrListUTF8LowerCase

Compares the specified lines of text in a TStringList.

Declaration

Source position: lazutf8.pas line 182

function CompareStrListUTF8LowerCase(

  List: TStringList;

  Index1: Integer;

  Index2: Integer

):Integer;

Arguments

List

  

TStringList with values for the comparison.

Index1

  

Position of the first text line.

Index2

  

Position of the second text line.

Function result

Relative order for the compared values.

Description

CompareStrListUTF8LowerCase is an Integer function used to compare the specified lines of text in the TStringList argument. Index1 and Index2 contain the ordinal positions for the respective lines of text. CompareStrListUTF8LowerCase calls UTF8CompareText to perform a case-insensitive comparison between the values.

The return value contains the relative sort order for the compared values, as defined for UTF8CompareText.

See also

UTF8CompareText

  

Case-insensitive comparison of two UTF-8-encoded values.


Version 3.2 Generated 2024-02-25 Home