Break a string into tokens.
char* __fastcall__ strtok (char* s1, const char* s2);
strtokwill break the string s1 into a sequence of tokens, which are delimited by characters from the string s2. The first call to
strtokwill return a pointer to the first token in the string s1. Following calls must pass a
NULLpointer as s1 in order to get the next token in the string. Different sets of delimiters may be used for the subsequent calls to
- The function is only available as fastcall function, so it may only be used in presence of a prototype.
strtokwill modify the string s1.
- See also