JCL Help:StrLICompW

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Case-insensitive, binary comparison of two null terminated strings.


Pascal

 function StrLICompW(const Str1: PWideChar; const Str2: PWideChar; MaxLen: SizeInt): SizeInt;


Parameters

Parameters Description
const Str1: PWideChar First string.
const Str2: PWideChar Second string.
MaxLen: SizeInt The maximum number of characters to compare.


Return Value

The return value should be interpreted as described in the table below. The actual value indicates the ordinal difference between the first mismatching character in the strings.

Value Description
<0 Str1 < Str2
0 Str1 equals Str2
>0 Str1 > Str2


Description

Case-insensitive, binary comparison of two null terminated strings.


About

Unit

JclWideStrings


Donator

Mike Lischke


Notes

Only ANSI characters are compared case insensitively.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page