help. manual says:
$hello = "Hello World"
$trimmed = trim($hello, "Hdle");
var_dump($trimmed);
when used turned out to be:
string(5) "o Wor"
i just want to remove all the x's from my string. its not working for me.
$string = "faxtxxx";
does not come out to be "fat"
it comes out to be "faxtxxx" when i do
$string = trim($string, "x");
help