extract by delimiter

Thomas McGrath III mcgrath3 at mac.com
Tue Dec 28 22:45:58 EST 2010

YES, that did extract what I needed and I can easily clean up the spaces and extra data. I had to read thru that five times before I saw the pattern and why it was working. At first it was like magic....

Now I have what I need:
location city="Bethel Park"
country="United States"
units temperature="F"
wind chill="21"
atmosphere humidity="51"
astronomy sunrise="7:39 am"
sunset="4:58 pm"
condition  text="Cloudy"
forecast day="Tue"
date="28 Dec 2010"
forecast day="Wed"
date="29 Dec 2010"

Now I can do something with this data.

Thanks so much Craig and everyone else for the suggestions.

-- Tom McGrath III
3mcgrath at comcast.net

On Dec 28, 2010, at 6:42 PM, dunbarx at aol.com wrote:

> I see that more items need to be extracted in some lines. I see that 
> leading spaces in some of the colon delimited items need to be removed.
> But the question is this: What is the best way to attack? The fun data 
> crunching LC way, or trying, as almost everyone else has suggested, looking at 
> the source data in a differently? I like the first, but that is because I am 
> a hobbyist.
> Craig Newman
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list