hai,
I want to split the text content alphabet and numeric :- text=AAaaa11223344; split to:- alpahabet=AAaaa; numeric=11223344;
Is't possible, can anybody help me.
Thanks in advance.
$len_in = strlen($text); for($i=0; $len_in > $i; $i++) { if(is_numeric($text[$i])) $numeric .= $text[$i]; else $alphabet .= $text[$i]; }
i like the is't conjunction... i think i'll start using it... or should i say using't