1FUNCTION::TOKENIZE(3stap)A collection of standard strinFUNCTION::TOKENIZE(3stap)
2
3
4

NAME

6       function::tokenize - Return the next non-empty token in a string
7

SYNOPSIS

9       1) tokenize:string(delim:string)
10
11       2) tokenize:string(input:string,delim:string)
12

ARGUMENTS

14       delim
15           set of characters that delimit the tokens
16
17       input
18           string to tokenize. If empty, returns the next non-empty token in
19           the string passed in the previous call to tokenize.
20

DESCRIPTION

22       1) This function returns the next token in the string passed in the
23       previous call to tokenize. If no delimiter is found, the entire
24       remaining input string is * returned. It returns empty when no more
25       tokens are available.
26
27       2) This function returns the next non-empty token in the given input
28       string, where the tokens are delimited by characters in the delim
29       string. If the input string is non-empty, it returns the first token.
30       If the input string is empty, it returns the next token in the string
31       passed in the previous call to tokenize. If no delimiter is found, the
32       entire remaining input string is returned. It returns empty when no
33       more tokens are available.
34

SEE ALSO

36       tapset::tokenize(3stap)
37
38
39
40SystemTap Tapset Reference       November 2019       FUNCTION::TOKENIZE(3stap)
Impressum