Getting comma separated values from a string

  • Thread starter Thread starter RD
  • Start date Start date
R

RD

S= myTxtStrean.Readline gives me a string. How do I extract the fields
separated by commas for instance

1,123456,345632,7876543
1,234567890,5432,87654
(values are not each the same length)

Thanks for any help

Bob
 
* "RD said:
S= myTxtStrean.Readline gives me a string. How do I extract the fields
separated by commas for instance

1,123456,345632,7876543
1,234567890,5432,87654
(values are not each the same length)

Have a look at 'String.Split' and 'Strings.Split'.
 
Back
Top