RE: Return or No Return
RE: Return or No Return
- Subject: RE: Return or No Return
- From: "Barry Wainwright" <email@hidden>
- Date: Fri, 24 Mar 2006 17:09:52 -0000
set textList to paragraphs of (get read refNr)
-----Original Message-----
From: applescript-users-bounces+barryw=email@hidden
[mailto:applescript-users-bounces+barryw=email@hidden] On Behalf
Of Luther Fuller
Sent: 24 March 2006 16:42
To: AppleScript Users
Subject: Re: Return or No Return
I haven't seen the latest postings, since Apple's Mailing Lists seem to be
offline.
A little experiment indicates that the proper way to read a text file as
lines of text is to use
set textList to read refNr using delimiter {(ASCII character 10),
return}
The result is a list of strings where each string is a line of text.
It works correctly for both return delimited and linefeed delimited files
without having to worry about which delimiter is used.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden