sys-tokenize man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

SYS-TOKENIZE(2)						       SYS-TOKENIZE(2)

NAME
       tokenize - split string into words

SYNOPSIS
       include "sys.m";
       sys := load Sys Sys->PATH;

       tokenize: fn(s, delim: string): (int, list of string);

DESCRIPTION
       Tokenize	 breaks	 s  into  words separated by characters in delim.  The
       returned tuple holds the number of words and an ordered list  of	 those
       words (whose hd gives the leftmost word from s).

       Words  are delimited by the maximal sequences of any character from the
       delim string.  Tokenize skips delimiter characters at the beginning and
       end of s, so each element in the returned list has non-zero length.

       If  s is nil or contains no words, tokenize returns a count of zero and
       a nil list.

       Delim may be nil or the empty string, specifying no  delimiter  characā€
       ters.   The  resulting  word list will be nil (if s is nil or the empty
       string) or a single-item list with a copy of s.

SEE ALSO
       sys-intro(2)

							       SYS-TOKENIZE(2)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net