Borislav,
Or, the strfilter() function hidden in FoxTools.fll
set library to foxtools.fll additive
lcPhone = strfilter( lcPhone, "0123456789" )
The strfilter() function filters out all chars except those listed in the 2nd parm.
What I like about this function is that its easy to understand what its doing when I see it my source code.
Malcolm