I wish to remove white space from a string. The string would have ben urlencoded()
prior, so I also wish to remove %20
too. I can do this using two separate functions, but how do i do this with one function?
$string = str_replace("%20","",$string);
$string = str_replace(" ","",$string);