char* qStrTok ( char *  str,
const char *  delimiters,
char *  retstop 
)

Split string into tokens

Parameters:
str source string
delimiters string that specifies a set of delimiters that may surround the token being extracted
retstop stop delimiter character will be stored. it can be NULL if you don't want to know.
Returns:
a pointer to the first byte of a token if successful, otherwise returns NULL.
Note:
The major difference between qStrTok() and standard strtok() is that qStrTok() can returns empty string tokens. If the str is "a:b::d", qStrTok() returns "a", "b", "", "d". But strtok() returns "a","b","d".

Definition at line 366 of file qString.c.


Generated on Mon Mar 26 07:00:52 2018 for JSOC_Documentation by  doxygen 1.5.7.1