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

UTF8CompareStrCollated

Compare two strings using language-specific sorting.

Declaration

Source position: lazutf8.pas line 178

function UTF8CompareStrCollated(

  const S1: string;

  const S2: string

):PtrInt;

Arguments

S1

  

First string for the comparison.

S2

  

Second string for the comparison.

Function result

Relative order for the compared values.

Description

UTF8CompareStrCollated is used to compare two strings using language-specific sorting. The return value contains the relative sort order for the compared values, as defined for UTF8CompareStr.