I have a standard, multiline, textbox on one of my screens. A typical entry will be:
"Mr. John Smith"
12345 Cherry Lane
Boston, MA 02100
[email protected]
617-123-4567"
I need to take the address part, and store it in a variable for latter use.
Here is the problem. The address part could be two, or three lines before there is a double space with email address and phone number. It could read:
"Mr. John Smith"
No Address Listed
[email protected]
617-123-4567"
Regardless of how many lines it is, how do I get just the address part?




Reply With Quote