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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String Formula

Status
Not open for further replies.

kpreda

Technical User
Mar 21, 2003
11
US
I have a string that holds the city, state and zip. I am trying to obtain just the state from this string. I can't use the mid formula because sometimes the zip code has the 4 digit extension. Is there anyother way for me to extract the state from this string?
 
Hi,
Are those sub-parts separated by any other character?



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
No. It's City, (space) State (space) Zip.
 
Hi,
Just for future reference, <space> is a character in a string.




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top