PHP Function: str_remove()
Thought it’d be useful and make more sense to make a str_remove() function because there isn’t one.
function str_remove($word, $str) { return str_replace($word, '', $str); }
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments
No comments yet.
Leave a comment