A function? Like this
multisearch("foobar", ({"o", "a"}));
Result: ({"fo", "ooba","ar"})
multisearch("foobar", ({"o","o", "a"}));
Result: ({"fo", "oo", "oba","ar"})
multisearch("foobar", ({"o","x", "a"}));
Result: ({"fo", "","ooba","ar"}) or: Result: ({"fo", "oobar","",""})
?
Seems pretty useful too, but I generally just want the range-operator.
For example:
if (email[""".."""]!="") name=unquote(email[""".."""]);
Or:
blocktext=config_string["blockstart".."blockend"];