implode

./efun/implode · 373 B

From the archive driver-docs-3.2@238-07-dec-93.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
	string implode(mixed *arr, string del)

DESCRIPTION
	Concatenate all strings found in array arr, with the string
	del between each element. Only strings are used from the array.

EXAMPLE
	string str;
	str = implode( ({"foo", "bar", ""}), "*");
	
	str will now look like "foo*bar*". This can be used as a
	search&replace function of strings.

SEE ALSO
	explode(E)

Site Stats

Snippets: 1791
Codebases: 571