Re: reading a CSV file
Re: reading a CSV file
- Subject: Re: reading a CSV file
- From: Rob Lewis <email@hidden>
- Date: Wed, 9 Feb 2005 06:09:50 -0800
This is clever! Question: if I execute "get theSource", the result box shows:
"453.25, \"Large, red car\""
It seems to me that since theSource is a string, it shouldn't have the outer quotes, and the inner quotes shouldn't be escaped. What's the story?
On Feb 9, 2005, at 5:02 AM, email@hidden wrote:
-- in lieu of reading a file I'm going to define the string here
-- replace with your code to read lines of the file
set theSource to "453.25, \"Large, red car\""
-- here's the magic
run script "{" & theSource & "}"
--> { 453.25, "Large, red car" }
_______________________________________________
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