Re: How to extract the domain of an email address
Re: How to extract the domain of an email address
- Subject: Re: How to extract the domain of an email address
- From: Michelle Steiner <email@hidden>
- Date: Fri, 20 Mar 2009 22:28:57 -0700
On Mar 20, 2009, at 10:19 PM, Angelo wrote: I’m able to script the extraction of the name portion of the string variable “email ” ( which contains misc. email addresses), but now I need to do some stuff which requires that I capture just the domain. Can someone help me create a script that captures only the portion after the @ sign?
set text item delimiters to {"@"} set domain to text item 2 of email
-- Michelle
-- Windows was always a mystery to me; the biggest mystery being "Why does anyone want to use this?"
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden