I have to open a text file read in each line into a TStringList.
Then I have to make changes to each string in the TListdtring
and write the chnaged strings to a list box.
Sample of the sting:
What I have to changes:
After the 1st comma I must insert ss1
After the 2nd comma I must insert ss2
After the 3rd comma I must insert ss3
and the 2nd last string must be 1572315-111B.cdl
The final string must look like this:
I got this far:-
MyString : TStringList;
i : integer;
Mystring := TStringList.Create;
for i := 0 to Mystring.Count-1 do