I am trying to to locate the last word in a string. I have a list of street names with suffix, and wish to find the suffixes.
For example in :
St. Marlow CT
Bridgstone Prkwy
John Monroe St
If I were looking for the index of the first space, this would be easy. I would use the following code:
instr(street, " "). I then would use the numeric value provided by the instr function, and use the mid function to parse out the data needed.
The question is, how do I do this from the right?
Dobe
For example in :
St. Marlow CT
Bridgstone Prkwy
John Monroe St
If I were looking for the index of the first space, this would be easy. I would use the following code:
instr(street, " "). I then would use the numeric value provided by the instr function, and use the mid function to parse out the data needed.
The question is, how do I do this from the right?
Dobe