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.
The indices are one-based (meaning the first is number one), inclusive (meaning the indices you specify are included), and may be negative to count from the other end. For example, {{#invoke:string|sub|12345678|2|-3}} → 23456. Not all the legacy substring templates use this numbering scheme, so check the documentation of unfamiliar templates.
Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. This template uses Lua :
The delete control character (also called DEL or rubout) is the last character in the ASCII repertoire, with the code 127. [1] It is supposed to do nothing and was designed to erase incorrect characters on paper tape. It is denoted as ^? in caret notation and is U+007F in Unicode.
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 }}
As seen on page C‑2 of the newspaper. This code generates "page C‑2" just like the plain code "page C-2", but prevents a line break at the hyphen. However, like , the use of ‑ instead of "-" renders the source text harder to read and edit. Don't use it unless it is really necessary to avoid a line break.
Symbol(s) Meaning Example of Use Dele: Delete: Pilcrow (Unicode U+00B6) ¶ Begin new paragraph: Pilcrow (Unicode U+00B6) ¶ no: Remove paragraph break: Caret [a] (Unicode U+2038, 2041, 2380) ‸ or ⁁ or ⎀ Insert # Insert space: Close up (Unicode U+2050) ⁐ Tie words together, eliminating a space: I was reading the news⁐paper this morning ...
Delimiter collision is a problem that occurs when a character that is intended as part of the data gets interpreted as a delimiter instead. Comma- and space-separated formats often suffer from this problem, since in many contexts those characters are legitimate parts of a data field.