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

Split domain from email address

Status
Not open for further replies.
Apr 28, 2003
38
0
0
US
Hi Everyone -

I have seen posts related to my issue but was unable to "reverse" the logic to fix my issue.

I am trying to strip the domain name from an email address.

Current:
my.name@mycompany.com

Want to return:
mycompany.com

The current formula I have is as follows:
ToText (Trim(Split({TABLE.EMAIL}, "@")[1]) )

This returns everything before the @ sign. How can I reverse this logic? If this is answered in another post I apologize. Please redirect me. Thanks in advance.

Thanks,
Mike

CR2008
XCELSISUS 2008
ORACLE 9i

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top