• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Parsing out words in email subject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing out words in email subject


  • Subject: Parsing out words in email subject
  • From: email@hidden
  • Date: Thu, 28 Jan 2010 08:56:57 -0800

I am trying to parse out the words in an email subject.

My goal is to have a word in the subject that activates a script. That script will drop the first word and will then consider the rest of the subject and execute some commands.

I can get first word of the script just fine but rather than get the word I want to eliminate the first word.

Here is an example of an email subject.

"One Two Three"

I want "Two Three" and not "One".

If I use this

set theWord to first word of theSubject

I get "One".

The subject could be One Two Three Four Five and I only want to drop "One"

Any suggestions.
_______________________________________________
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
  • Follow-Ups:
    • Re: Parsing out words in email subject
      • From: "Stockly, Ed" <email@hidden>
    • Re: Parsing out words in email subject
      • From: Michelle Steiner <email@hidden>
    • Re: Parsing out words in email subject
      • From: Eric Saunders <email@hidden>
References: 
 >Re: iCal alarm scripts (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: A frustrating problem - Grabbing Notes field from iCal event
  • Next by Date: Re: A frustrating problem - Grabbing Notes field from iCal event
  • Previous by thread: Re: iCal alarm scripts
  • Next by thread: Re: Parsing out words in email subject
  • Index(es):
    • Date
    • Thread