I'm very new to js and am having a bit of trouble implementing a function.
Basically the code is supposed to retrieve the patcher name and filepath
and then to filter out spaces and replace them with "!"
I've got the first part down but the second part is giving me trouble.
but it doesn't seem to be working the way I expected it to.
I've also looked at the regexp in js patch in the examples folder but it was a bit complicated for me at this point.
Heres my code so far:
outlets = 1;
setoutletassist(0,"replace space with !");
var str =(this.patcher.name, this.patcher.filepath);