|
-
April 27th, 2004, 04:58 PM
#1
Get Substring
I do have a string given to me as
CString strString = "ON,IN,1,0 ms";
I want to separate the string to another string where I have to look for the comma
I want the other string to be something like
CString strString2[4]
where
strString2[0] = "ON"
strString2[1] = "IN"
strString2[2] = "1"
strString2[3] = "0ms"
I want to know what function should I use to split that string on the form above.
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
|