$removex - 16/10/06 03:31 PM
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.
//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.