Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: strip characters Pin
thathvamsi2-Oct-06 20:31
thathvamsi2-Oct-06 20:31 
GeneralRe: strip characters Pin
David Crow3-Oct-06 5:32
David Crow3-Oct-06 5:32 
AnswerRe: strip characters Pin
Hamid_RT2-Oct-06 18:08
Hamid_RT2-Oct-06 18:08 
GeneralRe: strip characters Pin
Link20062-Oct-06 18:20
Link20062-Oct-06 18:20 
GeneralRe: strip characters Pin
thathvamsi2-Oct-06 18:20
thathvamsi2-Oct-06 18:20 
GeneralRe: strip characters Pin
David Crow3-Oct-06 5:33
David Crow3-Oct-06 5:33 
GeneralRe: strip characters Pin
ThatsAlok2-Oct-06 20:19
ThatsAlok2-Oct-06 20:19 
AnswerRe: strip characters Pin
David Crow3-Oct-06 5:38
David Crow3-Oct-06 5:38 
thathvamsi wrote:
eg., 1, Steve,Dave, 25yrs, California


If the string to be parsed is "1, Steve,Dave, 25yrs, California", there's no way to reliably differentiate between the various commas. Depending on the placement of a space is unreliable.

Now, if you have control over how the aforementioned string is put together, then a solution is very easy.


"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


QuestionRead value Pin
yijia_242-Oct-06 17:47
yijia_242-Oct-06 17:47 
AnswerRe: Read value Pin
Hamid_RT2-Oct-06 17:57
Hamid_RT2-Oct-06 17:57 
AnswerRe: Read value Pin
Naveen2-Oct-06 17:57
Naveen2-Oct-06 17:57 
AnswerRe: Read value Pin
ThatsAlok2-Oct-06 19:39
ThatsAlok2-Oct-06 19:39 
QuestionRe: Read value Pin
yijia_242-Oct-06 18:45
yijia_242-Oct-06 18:45 
QuestionRe: Read value Pin
yijia_242-Oct-06 22:16
yijia_242-Oct-06 22:16 
GeneralRe: Read value Pin
Naveen2-Oct-06 18:55
Naveen2-Oct-06 18:55 
GeneralRe: Read value Pin
yijia_242-Oct-06 19:02
yijia_242-Oct-06 19:02 
AnswerRe: Read value Pin
S Douglas3-Oct-06 0:09
professionalS Douglas3-Oct-06 0:09 
AnswerRe: Read value Pin
David Crow3-Oct-06 5:41
David Crow3-Oct-06 5:41 
GeneralRe: Read value Pin
David Crow3-Oct-06 5:39
David Crow3-Oct-06 5:39 
QuestionDirectX 10 - Vista Pin
me2-Oct-06 14:32
me2-Oct-06 14:32 
AnswerRe: DirectX 10 - Vista Pin
Link20062-Oct-06 14:37
Link20062-Oct-06 14:37 
GeneralRe: DirectX 10 - Vista Pin
me2-Oct-06 14:41
me2-Oct-06 14:41 
GeneralRe: DirectX 10 - Vista Pin
Link20062-Oct-06 14:51
Link20062-Oct-06 14:51 
QuestionFAR a VC++ term??? Pin
Oliver1232-Oct-06 13:30
Oliver1232-Oct-06 13:30 
AnswerRe: FAR a VC++ term??? Pin
Link20062-Oct-06 13:54
Link20062-Oct-06 13:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.