explode

skylib_fluffos_v3/mudlib/doc/driver/efuns/strings/explode · 536 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.\"break up a string
.DT
explode
$MUDNAME$ driver help
explode

.SH Name
.SI 5
explode() - break up a string
.EI

.SH Synopsis
.SI 5
string *explode( string str, string del );
.EI

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

.SH Example
.SI 5
explode( str, " " );
.EI
.SP 5 5
will return as an array all of the words (separated by spaces) in the string
`str'.
.EP

.SH See also
.SI 5
sscanf(), replace_string(), strsrch()
.EI

Site Stats

Snippets: 1791
Codebases: 571