Module:String/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Some rudimentary documentation of the newly-added functions)
m (→‎count: c/e)
Line 323: Line 323:
* <code><nowiki>"{{#invoke:String|escapePattern|10%}}"</nowiki></code> → "{{#invoke:String|escapePattern|10%}}"
* <code><nowiki>"{{#invoke:String|escapePattern|10%}}"</nowiki></code> → "{{#invoke:String|escapePattern|10%}}"
== count ==
== count ==
Counts the number of times an pattern appears in the arguments that get passed on to this module.
Counts the number of times a given pattern appears in the arguments that get passed on to this module.


Usage:
Usage: