explode

lpc4/lib/doc/efun/explode · 395 B

From the archive lpc4.05.14.tar.gz

Download the archive   « Back to the archive contents

NAME
	explode - divide a string into parts separated by a delimiter

SYNTAX
	string *explode(string str, string del);
	or
	str/del

DESCRIPTION
	Return an array of strings, created when the string str is splitted
	into substrings as divided by del. 

EXAMPLE
	explode("foo bar gazonk"," ")
	or
	"foo bar gazonk"/" "

	will return ({ "foo", "bar", "gazonk" })

SEE ALSO
	implode, sscanf, extract

Site Stats

Snippets: 1791
Codebases: 571