1FUNCTION::TOKENIZE(3stap)A collection of standard strinFUNCTION::TOKENIZE(3stap)
2
3
4
6 function::tokenize - Return the next non-empty token in a string
7
9 tokenize:string(input:string,delim:string)
10
12 input
13 string to tokenize. If NULL, returns the next non-empty token in
14 the string passed in the previous call to tokenize.
15
16 delim
17 set of characters that delimit the tokens
18
20 This function returns the next non-empty token in the given input
21 string, where the tokens are delimited by characters in the delim
22 string. If the input string is non-NULL, it returns the first token. If
23 the input string is NULL, it returns the next token in the string
24 passed in the previous call to tokenize. If no delimiter is found, the
25 entire remaining input string is returned. It returns NULL when no more
26 tokens are available.
27
28
29
30SystemTap Tapset Reference August 2011 FUNCTION::TOKENIZE(3stap)