I have to Remove whitespace from a string.
I tried with chop() or trim() but it didn't work. How I can do it?
I have to remove some simbol (like . from a string) I use:
<?
Sval="15.000.000";
$val=strtr("$val","."," ");
$val=chop("$val");
echo "val=$val";
?>
But it doesn't work it returns:
val=15 000 000
I want it returns
val=15000000
Can someone help me?