Remove Text

Geoff Codd

Registered User.
Local time
Today, 03:36
Joined
Mar 6, 2002
Messages
190
Hi there,

I have various invoice numbers

ABC111111
DE9999999
FG7777777

etc

and I would like to remove all the text from tem so I am only left with the numbers.

Any help appreciated
Thanks
Geoff
 
I just tried that on the following value T21412818 and I got 0
 
oh ic, because if i am not mistaken that works only if the numbers are in front such as if it was 21412818 T.

is the field you have that code in it standard i.e. do they have the same amount of characters as being numbers because if that's the case you could try using the right() function
 
No they are completely random, i thought about using the right etc
 
a workaround of doing it might be the following although i believe there are better ways

go to the find / replace and start searching for the letters and replace them with spaces, then use the Trim() to get rid of the spaces
 

Users who are viewing this thread

Back
Top Bottom