plugin string replace find template fantastick
This plugin is a generic string replacement sort-of thing.
StringReplacer.zip: Includes 3 dynamic plugins for doing string replacements. The most useful of these 3 plugins is StringReplacerSpreadable. These plugins are very useful for injecting information from your vvvv patch into your Fantastick JS code.
Hello, my name is $1, I am feeling very $2, how about you, $3, are you $2?
$1 = John, $2 = happy, $3 = Bill
Hello, my name is John, I am feeling very happy, how about you, Bill, are you happy?
cool one, ths gibi!
thanks, enjoy :)
... JS Framework for Fantastick coming soon !
Thanks Kalle, that will be useful in the future. This plugin is a lot faster than Substitute when you use the Enabled pin, but obviously making a module wrapping Substitute with an Enabled pin would be very easy.
I take that back, not so easy in fact. Substitute is not spreadable in the same way that StringReplacerSpreadable is.
I was actually using RegExpr before I created this module. Similar problems are involved with RegExpr as far as spread-ability and possibly performance as well.
Concerning speed and spread-ability, hard to tell since there is no help patch that shows the intended use.
it's possible do modif this so we have custom string instead of $1 $2 since
i need to rewrite file but string might be different like 4- launchpad replace with launchpad... something like that
anonymous user login