StringList cuts off first character....

Posted by GC0821 on December 19, 2005

I'm using Delphi 7 and I've got a StringList that I'm loading values into. Showmessage(StringList.Text) will give the correct values:

'String'
'Example'
'Test'

But (StringList.ValueFromIndex[index]) cuts off the first character in each string. I'll get:

'tring'
'xample'
'est'

Why is it doing this??
Thanks.

Related Articles and Replies