Re: Return character
Re: Return character
- Subject: Re: Return character
- From: "Marc K. Myers" <email@hidden>
- Date: Thu, 18 Oct 2001 13:13:48 -0400
- Organization: [very little]
>
From: email@hidden
>
Date: Thu, 18 Oct 2001 17:06:09 +0200
>
To: email@hidden
>
Subject: Return character
>
>
Hi!
>
>
How do I convert AppleScript return (unix ascii 13?) to HyperCard (classic app ascii 10 and ascii 13) return.
Is this what you need?
set theText to "paragraph 1
paragraph 2
paragraph 3"
set lf to ASCII character 13
set AppleScript's text item delimiters to {return}
set theText to text items of theText
set AppleScript's text item delimiters to {return & lf}
set theText to (theText as text)
set AppleScript's text item delimiters to {""}
theText
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[10/18/01 1:12:45 PM]