Search results
Results from the WOW.Com Content Network
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.
This template trims leading and trailing (but not interior) whitespace from a string. 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 {}, the resulting wikicode is "clean".
This template returns 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.
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. The symbols you an use in a pattern are: . means any individual character. ... would mean any three characters, etc. *, +, ?, and -are the ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Donate; Help; Learn to edit; Community portal; Recent changes; Upload file
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Help; Learn to edit; Community portal; Recent changes; Upload file
The template trims matched pairs of leading and trailing single and double quotes from a string. Template parameters [Edit template data] Parameter Description Type Status String 1 The string to be trimmed String required See also {{ trim }}
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 ...