Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.6

function::tokenize(3stap)


FUNCTION::TOKENIZE

FUNCTION::TOKENIZE

NAME
SYNOPSIS
ARGUMENTS
GENERAL SYNTAX
DESCRIPTION

NAME

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

SYNOPSIS

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

ARGUMENTS

input

String to tokenize. If NULL, returns the next non−empty token in the string passed in the previous call to tokenize.

delim

Token delimiter. Set of characters that delimit the tokens.

GENERAL SYNTAX

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

DESCRIPTION

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



function::tokenize(3stap)