array_splitter.php

<?
function array_splitter($delimiter, $string)
{

	$array = explode($delimiter, $string);

	#returns the number of elements in the array
	$size=count($array);

	for ($i=0; $i <= $size; $i++)
	echo $array[$i] . "<BR>";

}
#Laurent Gottardo, 15.9.04
        ?>
 
info/array_splitter.txt · Dernière modification: 2008/11/11 11:37 (modification externe)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki