Junior PHP Developer Question:
Tell me what is the use of explode() function?
Answer:
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.
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.
Previous Question | Next Question |
Explain me how to include a file to a php page? | Explain me what is the importance of "method" attribute in a html form? |