Vision Cloud interview question

What is the use of explode() function ?

Interview Answer

Anonymous

15 Jun 2017

Syntax : array explode ( string $delimiter , string $string [, int $limit ] ); This function breaks a string into an array. Each of the array elements is a substring of string formed by splitting it on boundaries formed by the string delimiter.