I need to enter a wildcard for a number in a function: InstrRev - is this possible?
To keep it short: I need to separate the street from the housenumber in an address field. I wanted to do this by using something like the following expression:
Mid([straat];InStrRev([straat];" ")+1) --> this gives me the space between the street and the number.
But some streetnames have spaces in them too ("Burg. de Vlugtlaan") so the selection is not waterproof.
Now I thought that if I could add a wildcard for a number to the expression, it would select the first space followed by a number - this would bee much better: "Burg. de Vlugtlaan 4". Is this possible?
The following expression doesn't work, but maybe illustrates my thought:
Mid([straat];InStrRev([straat];" "+#)+1)
Any ideas?
PS: this post is a follow up of thread 701-922491...
Teddy
To keep it short: I need to separate the street from the housenumber in an address field. I wanted to do this by using something like the following expression:
Mid([straat];InStrRev([straat];" ")+1) --> this gives me the space between the street and the number.
But some streetnames have spaces in them too ("Burg. de Vlugtlaan") so the selection is not waterproof.
Now I thought that if I could add a wildcard for a number to the expression, it would select the first space followed by a number - this would bee much better: "Burg. de Vlugtlaan 4". Is this possible?
The following expression doesn't work, but maybe illustrates my thought:
Mid([straat];InStrRev([straat];" "+#)+1)
Any ideas?
PS: this post is a follow up of thread 701-922491...
Teddy