Search results
Results from the WOW.Com Content Network
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Help; Learn to edit; Community portal; Recent changes; Upload file
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.
Base 1: the first character is numbered 1, and so on. Any leading or trailing whitespace is removed from the string before searching. If the requested position is negative, this function will search the string counting from the last character. In other words, number = -1 is the same as asking for the last character of the string.
The template takes a substring of ''text'' starting at ''start'' and containing ''length'' characters. Template parameters [Edit template data] 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
Main page; Contents; Current events; Random article; About Wikipedia; Contact us
العربية; تۆرکجه; 閩南語 / Bân-lâm-gú; भोजपुरी; فارسی; ગુજરાતી; 客家語 / Hak-kâ-ngî; 한국어; Ilokano
{{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 ...
Gives the characters from <offset> to the end of the string. Template parameters [Edit template data] Parameter Description Type Status String 1 The string to be trimmed String required Count 2 The index of the character to trim from. Negative values are treated as 0, see {{str rightc}} to trim the right n characters. If its greater than the string length returns the empty string. Number ...