Hi. How about an identifier to remove an occurrence of substring. but single remove. example below:

//if ($remove(aaabb,b)) echo $ifmatch
* above will return aaa as we all now.

//if ($removex(aaabb,b)) echo $ifmatch
* above will just remove the first matched occurrence which will return aaab

I made a worked-around snippet. but I wish to see this feature to be built-in.

Last edited by b1ink; 16/10/06 03:37 PM.

Kind Regards, blink