Read using delimiter - does it work?
Read using delimiter - does it work?
- Subject: Read using delimiter - does it work?
- From: Doug McNutt <email@hidden>
- Date: Sun, 21 Jul 2002 20:07:28 -0600
set INPUT to open for access theFile
set deLimit to (ASCII character 10) as text
This doesn't work apparently returning zero length every time
set theText to read INPUT using delimiter deLimit as text
This works OK and has solved my problem for now
set theText to read INPUT until deLimit as text
Script Editor 1.8.3, MacOS 9.2.1
--
--> As a citizen of the USA if you see a federal outlay expressed in $billion then multiply it by 4 to get your share in dollars. <--
_______________________________________________
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.