>>What's the best way to test for the existance of a numeric char in a string? If I had dumbvar='Johnson x4588', I would want to know that there are numbers embedded. -TB
>This is overkill for this problem, but the VBScript.RegExp object allows you to check for a wide range of patterns in a string:
>
>
oRegExp = CREATEOBJ('VBScript.RegExp')
>WITH oRegExp
> .Pattern = '[0-9]'
> ? .Test(dumbvar)
>ENDWITH
Hiya Ed,
For this one yes but if I had to create a generic pattern searcher I think it would pay the milliseconds back :)
Cetin