Hello, I looking for a piece of code to chop a string into a array with 2 or more delimiters
example:
this is the text and I want to chop [!FIRST!] here and a bit later [!LAST!] here and if its posible (its not required) [!OPTIONAL!] chop it here
and store this in a array like
array(
[0] => "this is the text and I want to chop "
[1] => "[!FIRST!]"
[2] => " here and a bit later "
[3] => "[!LAST!]"
[4] => " here and if its posible (its not required) "
[5] => "[!OPTIONAL!]"
[6] => " chop it here"
)
If someone can help me with it please
grtz Nestiq