just use a regex that extracts only the numbers?
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Brian Henry" <nospam@nospam.com> wrote in message
news:%2333SWXL%23EHA.2984@TK2MSFTNGP09.phx.gbl...[color=blue]
> Is there any quick and easy (other then scanning a string char by char) to
> remove all the alpha chars from a string and leave only numbers?
>
> ex:
>
> A12334234-3431AP
>
> comes out to 123342343431
> thanks!
>
>[/color]