I have a string of the form "abcd\"1234\"efgh". I want to extract 1234 from this string. How should I do this?
champnim
6
Light Poster
Recommended Answers
Jump to PostI have a string of the form "abcd\"1234\"efgh". I want to extract 1234 from this string. How should I do this?
You might use strtok(), see
http://www.cplusplus.com/reference/clibrary/cstring/strtok.html
All 3 Replies
mitrmkar
1,056
Posting Virtuoso
Jishnu
160
Posting Pro
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.