Skip to main content

explode

Discworld driver help

explode

Name

explode() - break up a string

Synopsis

string *explode( string str, string del );

Description

explode() returns an array of strings, created when the string `str' is split into pieces as divided by the delimiter `del'.

Example

explode( str, " " );

will return as an array all of the words (separated by spaces) in the string `str'.

See also

sscanf(), replace_string(), strsrch()