standard.C.string.strtok

strtok is available since version 1.0.

Prototype:

string strtok(string strToken, string strDelimit);

Parameters

strToken
String containing token or tokens.
strDelimit
Set of delimiter characters.

Description:

Find the next token in a string. The strtok function finds the next token in strToken. The set of characters in strDelimit specifies possible delimiters of the token to be found in strToken on the current call.

Return value:

Returns a string starting from the next token in the string. Returns an empty string if no more tokens are found.