View Single Post
Old 04-03-2009, 04:06 AM  
quantum-x
Confirmed User
 
quantum-x's Avatar
 
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
Industrial strength:
Code:
<?
 $str = 'Your string here';
 $chr = ord('�');
 foreach(str_split($str) as $v) $fS .= ((ord($v) != $chr)?$v:'');

 //Result is in $fS
 var_dump($fS);
?>
quantum-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote