>
Thanks to all (Dragan, Marcia and Tore). I wonder which solution is the fastest?>
>Since you have all the code, why don't you test all the solutions and let us know?
(Edit: This reply is for Yossi)
I think Dranag's solution is the fastest and optimal, because analyze the string only once and using the minimal instruction set.
Regards.-
Fernando D. Bozzo
Madrid / Spain