Using idx in strtok
#2

Quote:
Originally Posted by ssǝן‾ʎ
strtok only splits by space, so it has no need for a character list. idx is the position in the string that the split got to last time, so the next time you call it it will get the next word rather than the same word again. However I urge you to not worry about strtok and read this instead.
Awesome! Thnx for the explanation and the link
Reply


Messages In This Thread
Using idx in strtok - by Accesteam - 05.01.2009, 15:00
Re: Using idx in strtok - by Accesteam - 05.01.2009, 16:15
Re: Using idx in strtok - by Micko9 - 20.03.2010, 17:42
Re: Using idx in strtok - by bilakispa - 20.03.2010, 18:41

Forum Jump:


Users browsing this thread: 1 Guest(s)