* Add IndexChar for widechar

This commit is contained in:
Michael VAN CANNEYT 2023-01-06 12:02:00 +01:00 committed by Michaël Van Canneyt
parent 1671010086
commit f75f208992

View File

@ -392,6 +392,13 @@ begin
end;
function IndexChar(const buf; len: SizeInt; b: widechar): SizeInt;
begin
IndexChar:=IndexWord(buf,len,Word(b));
end;
function CompareChar(Const buf1,buf2;len:SizeInt):SizeInt;
begin
CompareChar:=CompareByte(buf1,buf2,len);