Re: Parsing out words in email subject
Re: Parsing out words in email subject
- Subject: Re: Parsing out words in email subject
- From: Alex Zavatone <email@hidden>
- Date: Thu, 28 Jan 2010 14:19:50 -0600
On Jan 28, 2010, at 2:09 PM, Steve Mills wrote:
> On Jan 28, 2010, at 14:00:49, email@hidden wrote:
>
>> Got it.
>>
>> Here is the end result.
>>
>> Thanks for the help.
>>
>> Chuck
>>
>> set theWord to first word of theSubject
>> set allButFirst to words 2 thru -1 of theSubject
>> set text item delimiters to space
>
> No, you didn't get it. The last line does nothing for this piece of script. "text item delimiters" is used when getting "text items" or when building strings from "text items". The above script will squish space-delimited words into a single word, e.g. "one two three" will come out "onetwothree". Is that what you really want? Check the other replies - the correct solution was given more than once.
Ya, set the text item delimiters BEFORE you do the set allButFirst.
_______________________________________________
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