argument to pattern_escape should be a <span class="searchmatch">string</span>, a number, or a frame object.") end elseif not (type(pattern_str) == "<span class="searchmatch">string</span>" or type(pattern_str) == "number")...
local p = {} --função length function p.length(frame) local mystring = frame.args[1] return mw.ustring.len(mystring) end --função substring function...
pode ser editada em Módulo:<span class="searchmatch">String</span>/doc. {{#invoke:<span class="searchmatch">String</span>|length|1=<span class="searchmatch">string</span>}} ou {{#invoke:<span class="searchmatch">String</span>|length|<span class="searchmatch">string</span>}} Recebe uma <span class="searchmatch">string</span> como argumento e devolve...
pode ser editada em Módulo:<span class="searchmatch">string</span>/doc. {{#invoke:<span class="searchmatch">string</span>|length|1=<span class="searchmatch">string</span>}} ou {{#invoke:<span class="searchmatch">string</span>|length|<span class="searchmatch">string</span>}} Recebe uma <span class="searchmatch">string</span> como argumento e devolve...
decode_entities local find = string.find local format = <span class="searchmatch">string</span>.format local gsub = <span class="searchmatch">string</span>.gsub local match = <span class="searchmatch">string</span>.match local pattern_escape = m_str_utils.pattern_escape...
local mw = mw local <span class="searchmatch">string</span> = <span class="searchmatch">string</span> local table = table local ustring = mw.ustring local byte = <span class="searchmatch">string</span>.byte local char = <span class="searchmatch">string</span>.char local concat = table...
local char = <span class="searchmatch">string</span>.char local concat = table.concat local tonumber = tonumber local function err(cp) error("Codepoint " .. cp .. " is out of range:...
tostring(number_<span class="searchmatch">string</span>) elseif type(number_<span class="searchmatch">string</span>) ~= '<span class="searchmatch">string</span>' or not number_<span class="searchmatch">string</span>:find('%S') then -- We were passed a non-<span class="searchmatch">string</span> or a blank <span class="searchmatch">string</span>, so exit...
mw.title object. -- Description: This function detects whether a <span class="searchmatch">string</span> or a mw.title -- object has been passed in, and uses that...
{{#invoke:strConversion|laConvert|{{{1}}}}} -- laConvert: Converte a <span class="searchmatch">string</span> latina em uma <span class="searchmatch">string</span> de texto sem diacríticos. -- Recognized characters: Ā ā Ă ă Ē...