|
-
Sep 26th, 2002, 10:03 PM
#1
Thread Starter
Addicted Member
How to parse comma delimited string?
Hi,
I can read a comma delimited file and load the data into a string one line at a time. So, I can get something like...
string s;
s = "12.3, 14.5, 16.7";
I can iterate through the string using s.substr and a 'for' loop...is there an equivalent to 'instr' command as in basic?
Regards,
ChuckB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|