Converts a string of tokens into a list.
(dos_strtokens string tokens [T])
string
A string.
tokens
A string interpreted as a set of delimiter characters.
T
If specified, the result is compatible with the strtok C/C++ run-time library function.
A list of strings, if successful.
nil on error.
Command: (dos_strtokens "Hockey is the best." " ") ("Hockey" "is" "the" "best.") Command: (dos_strtokens "A string\tof ,,tokens\nand some more tokens" " ,\t\n" t) ("A" "string" "of" "tokens" "and" "some" "more" "tokens") Command: (dos_strtokens "0,0,,0,0" ",") ("0" "0" "" "0" "0") Command: (dos_strtokens "0,0,,0,0" "," t) ("0" "0" "0" "0")
There was an error while loading. Please reload this page.
Home Introduction CAD Function Configuration Functions Directory Functions Drive functions File Functions Math Functions Path Functions Printer Functions Process Functions String Functions System Functions User Interface Functions DOSLib Functions History