Take a look at the Split method. Instead of having to call it in a loop like you would with strtok(), it returns all the tokens in a string array at once.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.