How to split value
Posted
by scopus
on Stack Overflow
See other posts from Stack Overflow
or by scopus
Published on 2010-03-17T21:07:22Z
Indexed on
2010/03/17
21:51 UTC
Read the original article
Hit count: 258
Hi, I want to split value.
$value = "code1.code2.code3.code4(code5.code6(arg1.arg2, arg3), code7.code8)";
I want to split like this.
Array
(
[0] => code1
[1] => code2
[2] => code3
[1] => code4(code5.code6(arg1.arg2, arg3), code7.code8)
)
I used explode('.', $value) but explode split in parentheses value. I don't want split in parentheses value. How can i do?
© Stack Overflow or respective owner