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           tokenize:string(input:string,delim:string)
10

ARGUMENTS

12       input
13           string to tokenize. If empty, 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

DESCRIPTION

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-empty, it returns the first token.
23       If the input string is empty, 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 empty when no
26       more tokens are available.
27

SEE ALSO

29       tapset::tokenize(3stap)
30
31
32
33SystemTap Tapset Reference         June 2018         FUNCTION::TOKENIZE(3stap)
Impressum