REBOL.net

Fast way to remove all non-numerical chars from a string

Kai Peters (kpeters)
21-Sep-2007/18:45:17-4:00
#43046
<Back   Thread   Next>
<Back   Index   Next>

Hi ~

what is a very fast way to remove all non-numerical characters from
a given string? I will have to process almost a million of these, so speed
matters.

I.e.,  "(250) 764-0929" -> "2507640929"


TIA,
Kai



<Back   Thread   Next>
<Back   Index   Next>

REBOL.com