DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
ctoken(TCL)
ctoken -- parse a token out of a character string
Syntax
ctoken
strvar separators
Description
Parses a token out of a character string. The string to parse is contained in the variable named
strvar
. The string
separators
contains all of the valid separator characters for tokens in the string. All leading separators are skipped and the first token is returned. The variable
strvar
will be modified to contain the remainder of the string following the token.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003