LPC Library Functions: 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>.

explode(str," ") will return as an array all of the words (separated by spaces) in the string <str>.

SEE ALSO

sscanf(), extract(), replace_string(), strsrch()

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS