And3mD schrieb:
How to compare utf8 strings

For example I have the sign "/" encoded as #47 and #192#175:

str1:=#47; // "/"
str2:=#192#175; // "/"

How to do:
if str1 = str2 then  //not working CompareStr not working too.

The strings obviously are different, not equal. If you want to compare the encoded *contents*, for equivalence, you'll have to use the appropriate function (dunno which one).

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to