It looks like you're new here. Sign in or register to get started.
Text1 := COPYSTR(MyText,1,STRPOS(MyText,',') - 1); Text2 := COPYSTR(MyText,STRPOS(MyText,',') + 1);
MyNewText := MyText; WHILE STRPOS(MyNewTEXT,',') <> 0 DO BEGIN I := I + 1; Text[I] := COPYSTR(MyNewText,1,STRPOS(MyNewText,',') - 1); MyNewText := COPYSTR(MyNewText,STRPOS(MyNewText,',') + 1); END; I := I + 1; Text[I] := MyNewText;
Comments
You could try this
Hope this helps
Albert
Edit
Text is defined as an array of Type Text