>Hello,
>
>myfield = '? AA 123456789 '
>
>how to get the numeric value starts from 123456789 and denies all spaces and
>other characters such as AA ? !!!
If you're loading foxtools.fll (it's in your home() directory, and should be distributed as a separate file with your executable), then it's simple:
myval=strfilter(myfield, "0123456879.-")
If not, there's a workaround using chrtran():
myval=chrtran(myfield, chrtran(myfield, "0123456789.-",""),"")