When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Help:Manipulating strings - Wikipedia

    en.wikipedia.org/wiki/Help:Manipulating_strings

    Regular expressions (or regex) are a common and very versatile programming technique for manipulating strings. On Wikipedia you can use a limited version of regex called a Lua pattern to select and modify bits of text from a string. The pattern is a piece of code describing what you are looking for in the string.

  3. Template:Str letter/trim - Wikipedia

    en.wikipedia.org/wiki/Template:Str_letter/trim

    This template uses Lua: Module:String {{Str letter/trim}} returns a string trimmed to its "beginning letters". Examples {{str letter/trim}} → ...

  4. Wikipedia : Lua string functions

    en.wikipedia.org/wiki/Wikipedia:Lua_string_functions

    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.

  5. Module:String2 - Wikipedia

    en.wikipedia.org/wiki/Module:String2

    This Lua module is used on approximately ... The trim function simply trims whitespace characters from the start and end of the string. ... then the search strings ...

  6. Module:Text - Wikipedia

    en.wikipedia.org/wiki/Module:Text

    This Lua module is used on approximately 1,880,000 ... The return value is an empty string if the parameter does not meet the conditions. ... (mw. text. trim (story ...

  7. Category:Templates based on the String Lua module - Wikipedia

    en.wikipedia.org/wiki/Category:Templates_based...

    [[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.

  8. Template:Str number/trim - Wikipedia

    en.wikipedia.org/wiki/Template:Str_number/trim

    The Template:Str_number/trim extracts a number at the start of parameter 1. It takes a string as parameter, and returns the string trimmed to the beginning number if non-numeric text does not appear before the first number.

  9. Template:Remove last word - Wikipedia

    en.wikipedia.org/wiki/Template:Remove_last_word

    This template removes the last word of the first parameter, i.e. the last non-space token after the last space. Use |1= for the first parameter if the string may contain an equals sign (=). By default, words are delimited by spaces, but the optional parameter |sep= can set the separator to any character.