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

    The simplest operation is taking a substring, a snippet of the string taken at a certain offset (called an "index") from the start or end. There are a number of legacy templates offering this but for new code use {{#invoke:String|sub|string|startIndex|endIndex}}. The indices are one-based (meaning the first is number one), inclusive (meaning ...

  3. Template:Str left - Wikipedia

    en.wikipedia.org/wiki/Template:Str_left

    A template to give the <count> substring of characters from the start of the trimmed string Template parameters [Edit template data] Parameter Description Type Status String 1 The string to be trimmed and counted String required Count 2 Gives the <count> substring of characters from the start of the trimmed string Number required See also Bugzilla:22555 (historical; need for correcting padleft ...

  4. Template:String split - Wikipedia

    en.wikipedia.org/wiki/Template:String_split

    Template:String split is a convenience wrapper for the split function in Module:String2.. The split function splits text at boundaries specified by separator and returns the chunk for the index idx (starting at 1).

  5. Template:String-handling templates - Wikipedia

    en.wikipedia.org/wiki/Template:String-handling...

    {{String-handling templates | state = collapsed}} will show the template collapsed, i.e. hidden apart from its title bar. {{ String-handling templates | state = autocollapse }} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar , or table with the collapsible attribute ), it is hidden ...

  6. Template:Str number/trim - Wikipedia

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

    Module:String 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.

  7. Template:Trim - Wikipedia

    en.wikipedia.org/wiki/Template:Trim

    The string should be passed as the first unnamed parameter. The parameter must be named |1= if its value contains a = character. You may substitute this template—that is, if this template is used as {{ subst:trim }} , the resulting wikicode is "clean".

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

  9. Comparison of programming languages (string functions)

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

    For function that manipulate strings, modern object-oriented languages, like C# and Java have immutable strings and return a copy (in newly allocated dynamic memory), while others, like C manipulate the original string unless the programmer copies data to a new string.