samedi 18 avril 2015

str_replace not functioning properly

I have a string like the following:



1Â 446,71


I want to remove that  from that string so used the following code:



$name ="1Â 446,71";
$name = str_replace('Â ','',$name);


But its not removing that special character from that string.


Any help on this please.


Aucun commentaire:

Enregistrer un commentaire