sorting data
I'm using "jit.uldl" to download weather data from weather.com, and then using "jit.textfile" to store and output that data.
my question: is there a way to "route" data based on a list?
here's an example:
"9 9 34 116 101 109 112 95 102 34 58 50 50 46 48 44"
this list converted to ASCII (with "itoa") will be:
"temp_f":22.0,
what's the most effective way to sort this? I only want to floating point number (here '22.0'), but this number can be of variable length (ie: '9.1'). So i'm thinking that if i route it based on the integer list above, and then grab any values after '58', (i can strip off the last value, which is a comma) I'll have the data I need.
I could use a TON of "route" objects to do this, but there must be an easier way. I looked briefly at "regexp" and "jit.str.regexp" but I have no idea what I'm doing there.
Thanks,
Something like this maybe: