Divide string in separate messages

Dec 6, 2012 at 4:00pm

Divide string in separate messages

Hello

I am getting a string of stock market info in a messagebox and I would like to divide this message in the different valueboxes to use the number values. How should I do that?

An example of a messgae: AAPL “542.24″ 12/6/2012 10:36am “17111232″ USD “N/A – N/A” – “542.25″ “542.25″ “200″ “20467700″ “542.11″ “542.11″ “100″ “125.861″ +3.4477 “+3.4477 – +0.64%” “-36.919″ “-69.78″ “-162.83″ +164.56 +0.64% “N/A – +0.64%” +3.4477 – USD “542.25″ “518.63″ “518.63 – 542.25″ “N/A – N/A” “- – +0.64%” “N/A – N/A”

Already found it: all of the data are symbols, I use unpack s s s s…. s and then for real numbers I use fromsymbol

#65534
Dec 6, 2012 at 4:50pm

Hi,

?

– Pasted Max Patch, click to expand. –
#236072

You must be logged in to reply to this topic.