Le Mar 6, 2008 à 5:26 PM, Lucas Vasconcelos a écrit :

You can try access a UTF8String lika a array.

So, you can replace your test by

if mystringvar[0] <> '' then ...



I thought string should be accessed from 1 not 0 for compatibility.
And it is what I am doing.

for i := 1 to length(s) do ...

so I am not sure that using s[0] is safe

--
Damien Gerard
[EMAIL PROTECTED]

"Intelligence is 10 million rules."
   -- Douglas Lenat





_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to