NextIndexPrevious

Programs in PHP

9.Program to split a string into an array elements based on delimiter.
<?php

	$str = "Welcome";
	$arr = explode('c',$str);
	print_r($arr);
	
?>
Output :

Array ( [0] => Wel [1] => ome )

Father of PHP

Rasmus Lerdorf

Rasmus Lerdorf

Born: November 22, 1968, Greenland
Google+