target <span class="searchmatch">string</span>. Usage: {{#invoke:<span class="searchmatch">string</span>/<span class="searchmatch">templates</span>|len|target_<span class="searchmatch">string</span>|}} OR {{#invoke:<span class="searchmatch">string</span>/<span class="searchmatch">templates</span>|len|s=target_<span class="searchmatch">string</span>}} Parameters s: The <span class="searchmatch">string</span> whose...
This module is intended to provide access to basic <span class="searchmatch">string</span> functions to <span class="searchmatch">templates</span>. Most of the functions provided here can be invoked with named parameters...
return require [[Module:<span class="searchmatch">string</span>/<span class="searchmatch">templates</span>]] -- This is a deprecated alias for [[Module:<span class="searchmatch">string</span>/<span class="searchmatch">templates</span>]] which might be replaced by another module in future...
= <span class="searchmatch">string</span>.gsub --[==[Escapes {%}, which is the only magic character used in replacement strings, which are given as the third argument to {<span class="searchmatch">string</span>.gsub}...
"Module:index" local <span class="searchmatch">string</span>_linelen_module = "Module:<span class="searchmatch">string</span>/linelen" local find = <span class="searchmatch">string</span>.find local require = require local sub = <span class="searchmatch">string</span>.sub local function...
find = <span class="searchmatch">string</span>.find local gmatch = <span class="searchmatch">string</span>.gmatch local match = <span class="searchmatch">string</span>.match local sub = <span class="searchmatch">string</span>.sub --[==[ Iterates over the lines in a <span class="searchmatch">string</span>, treating...
local <span class="searchmatch">string</span>_char_module = "Module:<span class="searchmatch">string</span>/char" local <span class="searchmatch">string</span>_charset_escape_module = "Module:<span class="searchmatch">string</span>/charsetEscape" local mw = mw local <span class="searchmatch">string</span> = <span class="searchmatch">string</span> local...
Finds a substring with balanced brackets. This means that, if one reads the <span class="searchmatch">string</span> from left to right, counting +1 for a left bracket and -1 for a right bracket...
index_module = "Module:index" local error = error local format = <span class="searchmatch">string</span>.format local sub = <span class="searchmatch">string</span>.sub local type = type local function index_range(...) index_range...
local sub = <span class="searchmatch">string</span>.sub --[==[ Returns {true} if the <span class="searchmatch">string</span> {str} ends with the <span class="searchmatch">string</span> {val}, or {false} if not. The optional indices {i} and {j} can be...