read using delimeter command
read using delimeter command
- Subject: read using delimeter command
- From: Peter Long <email@hidden>
- Date: Sat, 22 Dec 2001 23:52:45 -0800
If I use a carriage return, this works. But if I use some odd-ball
character like the infinity symbol, it doesn't. Am I missing
something?
set myTextinput to choose file with prompt "Select the file " & "."
set splitAt to ""
tell application "Finder"
set myFiles to read myTextinput using delimiter splitAt as text
set myNumberOfFrames to (count myFiles)
display dialog myNumberOfFrames
end tell
--
Peter Long (email@hidden)
Lost Moose Publishing
http://www.yukonweb.com/business/lost_moose/
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
K-L Services
http://www.yukonweb.com/business/lost_moose/books/k-l/k-l_frame.html
58 Kluane Crescent
Whitehorse, Yukon, Y1A 3G7, Canada
867-668-5076,
fax:867-668-6223
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||