preg_slipt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all !!!
 
I have string like this "1234567890"
 
I need to split this into array like this
a[0] = "12"
a[1] = "34" 
a[2] = "56" 
a[3] = "78" 
a[4] = "90"
 
I know that for this is preg_split, but I don't know the string patern
for split.
Thank you in advance !!
 

Dan

 

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux