Hi,
Using Access 2000 I can find queries/modules to remove certain characters/alphanumerics etc from strings but I am looking for a combination and I am not smart enough to work it out!
I have a list of alphanumeric VAT numbers from various countries which all start with a multi-lettered prefix of varying lengths, of which I need to extract and tidy up the remaining part of the string which may also contain letters and have spaces and dashes in that need removing. So for example:
GB212345B67
EBS23123456E
EBS-123456
EBS 12345 6
I need to remove the first alphas, a maximum of three and then with the remainder, remove any dashes or spacing so the above becomes:
212345B67
23123456E
123456
123456
Is that easy to achieve?
Thanks
Dan
Using Access 2000 I can find queries/modules to remove certain characters/alphanumerics etc from strings but I am looking for a combination and I am not smart enough to work it out!
I have a list of alphanumeric VAT numbers from various countries which all start with a multi-lettered prefix of varying lengths, of which I need to extract and tidy up the remaining part of the string which may also contain letters and have spaces and dashes in that need removing. So for example:
GB212345B67
EBS23123456E
EBS-123456
EBS 12345 6
I need to remove the first alphas, a maximum of three and then with the remainder, remove any dashes or spacing so the above becomes:
212345B67
23123456E
123456
123456
Is that easy to achieve?
Thanks
Dan