Remove Quotations

I have some code that downloads a stocks change that contains quotation marks that I need
to remove.

set stockChange to do shell script "curl -s 'http://download.finance.yahoo.com/d/quotes.csv?s=" & theStock & "&f=p2'"
	if stockChange contains "\""  replace using ""
end if

Tried a number of different approaches but no joy yet.
The stockChange returns looking like this: “0.01” …or whatever the actual change may be.

Maybe more involved that I thought?

Any help appreciated.

Thanks,

Carl

Hi,

try this


set stockChange to do shell script "curl -s 'http://download.finance.yahoo.com/d/quotes.csv?s=" & theStock & "&f=p2' | cut -d '\"' -f 2"

As always…brilliant!

Many thanks,

Carl