There's already a patch called "String Scanner" --- this one doesn't do scanf-style parsing.. just handles strings between spaces, I think..
However, a full regex parser along those lines might be cool.. check out http://www.cocoadev.com/index.pl?CSRegex --- which i used in the phidget and midi patches.
obviously dedicated nodes is good, but its getting this exact kind of precise behaviour that has driven my desire for a 'shell script' node. which now exists. yay!
There's already a patch called "String Scanner" --- this one doesn't do scanf-style parsing.. just handles strings between spaces, I think..
However, a full regex parser along those lines might be cool.. check out http://www.cocoadev.com/index.pl?CSRegex --- which i used in the phidget and midi patches.
with better truncate and rename options than the actual one. (though given a coding person, this could be done on Javascript, couldn't it ?)
obviously dedicated nodes is good, but its getting this exact kind of precise behaviour that has driven my desire for a 'shell script' node. which now exists. yay!
toby