I am having trouble with the delimiter in the TStringList Class. Take a look:
var
s: string;
sl: TStringList;
begin
sl := TStringList.Create;
s := 'Users^foo bar^bar foo^foobar^barfoo';
sl.Delimiter := '^';
sl.DelimitedText := s;
ShowMessage(sl[1]);
end;
sl[1]
SHOULD return 'foo bar'
sl[1]
DOES return 'foo'
It seems that the delimiter is now '^'
AND ' '
Any ideas?