@Zathras
That's it!
One comment:
Interesting, same result is get with:
Copy(s,0,Pos(' ',s));
How it's possible? What is String.Index[0]? Maybe length of a string!?
@whosrdaddy
In my case I'm sure that string contains SPACE, but your remark is right.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.