String Parsing Patch

picture
3
points

Feed 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.

smokris pictureString Scanner? or regex?

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.

all-purpose string manipulator

with better truncate and rename options than the actual one. (though given a coding person, this could be done on Javascript, couldn't it ?)

...shell script node, yo =]

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