On 22/10/13 09:35, Michael Schnell wrote:
> On 10/22/2013 10:24 AM, Sven Barth wrote:
>> I didn't know until around 1 or 2 years ago that "<" and ">" are supported 
>> on strings at all
> 
> Nice try O:-)
> 
> -Michael
> 
> -- 

And (probably) overloaded operators are your friends here?

operator < (S1, S2: UTF8String) b : boolean;
begin
  b := (compareUTF8String(s1, s2, comparemode) < 0)
end;

-L.


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to