hi
i have a long string like as:
$var="Site,Browse.option]has[been,added,This'allows[you";
i want to split this varibale to array with some characters that i define.
characters i define are: ,.[]'
the result must be:
echo $vars[0]; //prints Site
echo $vars[1]; //prints Browse
echo $vars[2]; //prints option
echo $vars[3]; //prints has
echo $vars[4]; //prints been
echo $vars[5] ;//prints added
...
any one can help me to do this?
thanks