[pmwiki-users] New Recipe: StringReplace

Hans design5 at softflow.co.uk
Sun Mar 11 18:30:22 CDT 2007


Sunday, March 11, 2007, 11:16:57 PM, Kathryn wrote:

> Hmmm.  So one would have to submit a separate form for each different
> variable?  Kind of limited.  Though I see why, since the parameters are
> "str1" and "str2" and that's what it looks for.  I wonder if it could be
> made more generic, like
> src_(name), dest_(name)
> src_(name2), dest_(name2)
> and so on.

Meaning doing multiple string replacements in one operation, working
on an array... Maybe it is possible to expand the script.
It will be quite a rewrite.... Hmmm, I need to sleep over this.


Hans




More information about the pmwiki-users mailing list