String Parsing Patch

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.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

smokris's picture
String 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.

franz's picture
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 ?)

tobyspark's picture
...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