Aug 21, 2002 #1 ivoestg Programmer Joined Mar 21, 2001 Messages 77 Location PT hi, how can i use stringlists to separate a string by the char ';' example: mystring:='0;D;100'; I need: ts[0]='0' ts[1]='D' ts[2]='100' being ts a TStringlist variable. thanks... I'm in ivoestg@yahoo.com
hi, how can i use stringlists to separate a string by the char ';' example: mystring:='0;D;100'; I need: ts[0]='0' ts[1]='D' ts[2]='100' being ts a TStringlist variable. thanks... I'm in ivoestg@yahoo.com
Aug 21, 2002 #2 McMerfy Programmer Joined Apr 18, 2002 Messages 186 Location RU Code: ts.Text := StringReplace(MyString, ';', #10, [rfReplaceAll]); Cheers --- markus Upvote 0 Downvote