= <span class="searchmatch">string</span>.gsub(text, UTF8_char, "") return length end --[[ len This function returns the length of the target <span class="searchmatch">string</span>. Usage: {{#invoke:<span class="searchmatch">string</span>|len|target_string|}}...
language name. --- @param langName <span class="searchmatch">string</span> The language’s name. --- @param langCode <span class="searchmatch">string</span> The language’s code. --- @return <span class="searchmatch">string</span> The formated language name....
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:...
verb:sub(-<span class="searchmatch">string</span>.len("ar")) == "ar" then return verb, "Présent de l’infinitif" elseif verb:sub(-<span class="searchmatch">string</span>.len("abis")) == "abis" then return <span class="searchmatch">string</span>.match(verb...
code (<span class="searchmatch">string</span>) : Le code de la langue. allowSpecial (boolean) : Si true, les codes de langue spéciaux seront pris en compte. Type de retour <span class="searchmatch">string</span> ou nil...
whitespace-only values from the given table. --- @param t <span class="searchmatch">string</span>[] The table to filter. --- @return <span class="searchmatch">string</span>[] The filtered table. local function removeEmptyValues(t)...
word type code from [[Module:types de mots/data]]. --- @param code <span class="searchmatch">string</span> The <span class="searchmatch">string</span> to check. --- @return boolean True if the argument is a valid word...
code (<span class="searchmatch">string</span>) : La valeur à tester. Type de retour boolean Indique si la valeur passée est un alias de titre de section. Paramètres code (<span class="searchmatch">string</span>) : La...
code <span class="searchmatch">string</span> A language code. --- @param allowSpecial boolean If true, codes marked as group or special also will be considered. --- @return <span class="searchmatch">string</span>|nil...
= {} --- Get the data for the given section type code. --- @param code <span class="searchmatch">string</span> The section type code to get the data of. --- @return table|nil A `table`...