[Lazarus] new project

Dians diansopandi95 at gmail.com
Tue Nov 3 04:32:16 CET 2009


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





More information about the Lazarus mailing list