string function workout in php

Posted by Karthik on Stack Overflow See other posts from Stack Overflow or by Karthik
Published on 2010-05-18T07:24:28Z Indexed on 2010/05/18 7:30 UTC
Read the original article Hit count: 256

Filed under:
|
|

I have the string like this,

$inp1 = "3 doses at 0[0,0], 1-2 and 6 Month[6,1] [3,2])";

in this internally, going to take the values of square bracket. How can i take this values in the square bracket? any function is there to return the string like this

[0,0] [6,1] [3,2]

Thanks in advance for help.

© Stack Overflow or respective owner

Related posts about string

Related posts about function