enow.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. Module:String/doc - Wikipedia

    en.wikipedia.org/wiki/Module:String/doc

    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

  4. Comparison of programming languages (string functions)

    en.wikipedia.org/wiki/Comparison_of_programming...

    <string>.rpartition(separator) Searches for the separator from right-to-left within the string then returns the sub-string before the separator; the separator; then the sub-string after the separator. Description Splits the given string by the right-most separator and returns the three substrings that together make the original.

  5. Module:Text - Wikipedia

    en.wikipedia.org/wiki/Module:Text

    Wrap the string in quotes; quotes can be chosen for a specific language. Will not quote an empty string, and will not quote if there is a quote at the start or end of the (trimmed) string. 1 Input text (will be automatically trimmed); may be empty. 2

  6. Template:Str sub old/doc - Wikipedia

    en.wikipedia.org/wiki/Template:Str_sub_old/doc

    The template takes a substring of ''text'' starting at ''start'' and containing ''length'' characters. Template parameters Parameter Description Type Status Text 1 The substring to be trimmed. String required Numeric position 2 Numeric position of the starting character within the string Number required Count 3 Number of characters for the substring Number required See also

  7. Wikipedia:Lua/Requests/Archive 1 - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua/Requests/...

    Use Module:String.sub internally. We only need a wrapper that handles the basic input values. i, j are as defined in the Module:String.sub. Negative values are accepted. i, j can get default values: i=1, j=len; Basic parameters. All params are optional. For readability here names i, sublen, j are used; in the template they are the unnamed ...

  8. Wikipedia:Lua string functions - Wikipedia

    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.

  9. String interning - Wikipedia

    en.wikipedia.org/wiki/String_interning

    String interning is supported by some modern object-oriented programming languages, including Java, Python, PHP (since 5.4), Lua [4] and .NET languages. [5] Lisp , Scheme , Julia , Ruby and Smalltalk are among the languages with a symbol type that are basically interned strings.