Code Samples/Comparisons

Bruce Robertson bfr at nwlink.com
Sat Dec 5 13:22:40 EST 2009


On Dec 5, 2009, at 10:12 AM, Colin Holgate wrote:

> 
> On Dec 5, 2009, at 12:30 PM, Dave Cragg wrote:
> 
>> How would you do the following in Java/C/etc?
>> 
>> get last item of line 2 of url "http://ichart.finance.yahoo.com/table.csv?s=RBS.L"
>> 
>> but rather, 
>> 
>> How would you get and display the latest stock price for RBS.L from the internet in Rev/ Java/C/etc?
> 

Applescript:

set AppleScript's text item delimiters to ","
item -1 of text items of paragraph 2 of (do shell script "curl http://ichart.finance.yahoo.com/table.csv?s=RBS.L")


More information about the use-livecode mailing list