Strip all the numeric characters from a variabele
Posted 30 April 2006 - 10:29 AM
The topic title says it already, is there an way I can strip off all the numeric charcaters?
I can't find it.
So that : 'blabla78';
would become : 'blabla';
Thanks in advance!
Posted 30 April 2006 - 11:24 AM
Posted 01 May 2006 - 11:45 AM
$str = 'blabla78'; $str = str_replace(range(0,9), '', $str); echo $str;
Donations gratefully received
|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users