Click to See Complete Forum and Search --> : strtok


shamid_azimof
November 21st, 2005, 10:15 AM
Hi

What is equal of strtok in C++ string?

or How can i split any string in c++ without using strtok?

tnx

Philip Nicoletti
November 21st, 2005, 10:21 AM
for one way, see

http://www.nicoletti.50megs.com/cpp_notes/string/tokenize.html

exterminator
November 21st, 2005, 02:10 PM
...use std::string's .substr() member. Look out for the details. Regards.