|
View your shopping cart.
Recent topics
Recent Comments |
String Parsing PatchFeed it a format string and an input string, and it generates output ports based on format, and then fills in those ports with the input string.
More like this
|
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