Search results
Results from the WOW.Com Content Network
The string-search functions in Lua script can run extremely fast, comparing millions of characters per second. For example, a search of a 40,000-character article text, for 99 separate words (passed as 99 parameters in a template), ran within one second of Lua CPU clock time.
The English Wikipedia has several templates and Lua modules which can format or manipulate strings.In this context a "string" is any piece of text forming part of a page. This help page covers a few useful techniques; look in the navbox below for the full catalogue of templa
This module is intended to provide access to basic string functions. Most of the functions provided here can be invoked with named parameters, unnamed parameters, or a mixture. If named parameters are used, Mediawiki will automatically remove any leading or trailing whitespace from the
This function allows one to replace a target string or pattern within another string. To Lua ... This module is intended to provide access to basic string functions.
[[Category:Templates based on the String Lua module]] to the <includeonly> section at the bottom of that page. Otherwise, add <noinclude>[[Category:Templates based on the String Lua module]]</noinclude> to the end of the template code, making sure it starts on the same line as the code's last character.
This Lua module is used on approximately 1,880,000 pages, or roughly 3% of all pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox .
The module String2 contains a number of string manipulation functions that are much less commonly used than those in Module:String. Because Module:String is cascade-protected (some of its functions are used on the Main Page), it cannot be edited or maintained by template editors, only by admins.
This template uses Lua: Module:String2 ; This is the {{Str startswith}} meta-template. It returns "yes" if the second parameter is the start of the first parameter. ...