M Rosales Posted April 1, 2005 Posted April 1, 2005 Text functions are not my forte and any help would be appreciated What I have done is create a mailbox for my contact manager. When I download the mail from the server I will automatically relate the message with a contact if it matches any of the contact email addresses. The problem is I am having difficulty extracting just the email address from the senders complete name eg: "Joe Smith" <Joe.smith@@nowhere.com>. The common factor with all emails would be < > I need to extract the address without regards to content size within. Any suggestions.....
Søren Dyhr Posted April 1, 2005 Posted April 1, 2005 Try this Let([theStart = Position ( headertext ; "<" ; 1 ; 1 ); theEnd = Position ( headertext ; ">" ; 1 ; 1 )]; Replace ( Replace ( headertext ; TheEnd ; 99999999 ; "" ) ; 1 ; theStart ; "" )) --sd
Recommended Posts
This topic is 7242 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now