Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extracting E or W from a street name

Status
Not open for further replies.

jobillborf

Programmer
Feb 13, 2001
61
US
Hi, I have a field called xfstreet. This field is a street name. For examble if the streetname starts with a direction E or W I would like to extract it.

So E 96th ST would give me a value of E.

Thank you


 
Try this:

Create a formula @Direction

if left({address.xfstreet},1) in ['N','S','E','W']
and instr({address.xfstreet},' ') = 2
then left({address.xfstreet},1)
 
Hi, I have a field called Addrqual which is a CHARACTER
FIELD. The Field lenfth is 254. For this problem I would like to insert a formula field called @address after the word APEX. On the first line there could be the words "FRONT OF" "OPPOSITE" "ON".


APEX
0 FROM COMMONWEALTH AV
COMMONWEALTH AV/ROSEDALE AV
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top