Re: How can I get X (or another value) from this string "asdfsadf[www]X[/www]"
Posted by Mara Guida on 12/22/05 13:36
Michael wrote:
> I need a solution that will loop until all of the [www][/www] tags in
> string into an array and from there on i have everything sorted.
If you want to go the regular expression way, have a look at
preg_match_all().
If you want to go the strpos(), substr() way, remember the third
parameter to the strpos() function.