- split(): split() can break string in an array by given string separator or given regular expression.
- explode(): explode() function can only break the string by given separator.
Wednesday 24 August 2011
at 05:53 | 0 comments | PHP
How to break a string into an array in PHP?
There are two method used to break a string in to an array:
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment