Re: Soft returns in string variable?
Re: Soft returns in string variable?
- Subject: Re: Soft returns in string variable?
- From: dave dowling <email@hidden>
- Date: Wed, 4 Feb 2004 22:22:34 -0500
Walter,
Your guess was correct. Stripping out ASCII character 10 did the
trick. I had to modify what you sent slightly to replace the CRLFs
with Mac returns, but your suggestion was on the money. I didn't see
anything in Mail's dictionary that would do the job, so I'm going with
this approach -- it works, and it's fast enough.
Nice job, and thanks for the assistance! :-)
On Feb 4, 2004, at 12:58 PM, Walter Ian Kaye wrote:
see if this helps:
set myParseText to (content of myMsg)
set oldDelims to applescript's text item delimiters
set applescript's text item delimiters to ascii character 10
try
set myParseList to every text item of myParseText
set myParseText to myParseList as string
end try
set applescript's text item delimiters to oldDelims
Thanks.
Dave Dowling
http://www.davedowling.com
Free at last! How I found peace with God:
http://www.davedowling.com/peace.htm
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.