function::tokenize(3stap) — Linux manual page

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO | COLOPHON

FUNCT...ENIZE(3stap) A collection of standard strin FUNCT...ENIZE(3stap)

NAME         top

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

SYNOPSIS         top

       1) tokenize:string(delim:string)

       2) tokenize:string(input:string,delim:string)

ARGUMENTS         top

       delim
           set of characters that delimit the tokens

       input
           string to tokenize. If empty, returns the next non-empty
           token in the string passed in the previous call to tokenize.

DESCRIPTION         top

       1) This function returns the next token in the string passed in
       the previous call to tokenize. If no delimiter is found, the
       entire remaining input string is * returned. It returns empty
       when no more tokens are available.

       2) This function returns the next non-empty token in the given
       input string, where the tokens are delimited by characters in the
       delim string. If the input string is non-empty, it returns the
       first token. If the input string is empty, it returns the next
       token in the string passed in the previous call to tokenize. If
       no delimiter is found, the entire remaining input string is
       returned. It returns empty when no more tokens are available.

SEE ALSO         top

       tapset::tokenize(3stap)

COLOPHON         top

       This page is part of the systemtap (a tracing and live-system
       analysis tool) project.  Information about the project can be
       found at ⟨https://sourceware.org/systemtap/⟩.  If you have a bug
       report for this manual page, send it to [email protected].
       This page was obtained from the project's upstream Git repository
       ⟨git://sourceware.org/git/systemtap.git⟩ on 2024-06-14.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2024-06-13.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

SystemTap Tapset Reference     April 2024           FUNCT...ENIZE(3stap)

Pages that refer to this page: tapset::tokenize(3stap)