>SET @var = SUBSTRING(@var,PATINDEX('%[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]%',@var),20)
>
>How can I do this in VFP?
>
>TIA
>
>Peter
You can't, unless you didn't use regular expression class.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.