ctoken(1tcl)


ctoken -- parse a token out of a character string

Synopsis

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.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.