
11-09-2007, 01:00 AM
|
| D-Web Sr.Programmer | | Join Date: Mar 2007
Posts: 118
| |
Re: string functions and manipulations in php Quote:
Originally Posted by Jeyaseelansarc What is the difference of using explode and split in PHP?
I know that both are converting a string into array | Hi Jeyaseelansarc,
Yes, both are used to convert a string into array. But there is one major difference what i know is regular expression usage. explode is used string by string while Split is used to split string into array by regular expression. In search pattern we can use regular expression while using split but we can not able to do the same in explode.
Thanks
__________________ K K Venkata Charya Success is easy to get but difficult to retain |