Difference between revisions of "Template:String-handling templates"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(bypass redirect)
(rm template that redirects to Template:Trim, reorg, add Template:Trim brackets)
Line 39: Line 39:
 
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;
 
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;
 
       | {{tl|trim}}                | To trim any leading or trailing whitespace
 
       | {{tl|trim}}                | To trim any leading or trailing whitespace
       | {{tl|strip whitespace}}   | Less effective than {{tlf|trim}}.
+
       | {{tl|str letter/trim}}     | To trim down to the beginning letters.
       | {{tl|first word}}         | To trim down to the first space.
+
       | {{tl|str number/trim}}     | To trim down to the beginning numbers.
       | {{tl|remove first word}}   | To remove anything before the first space.
+
       | {{tl|trim brackets}}       | To trim any leading or trailing square brackets.
 
       }}
 
       }}
 
     | {{Aligned table
 
     | {{Aligned table
 
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;
 
       |col1style=width:12.5em;text-align:right;white-space:nowrap;padding-right:0.75em; |col2style=font-style:italic;
       | {{tl|str letter/trim}}     | To trim down to the beginning letters.
+
       | {{tl|first word}}         | To trim down to the first space.
       | {{tl|str number/trim}}     | To trim down to the beginning numbers.
+
       | {{tl|remove first word}}   | To remove anything before the first space.
 
       | {{tl|last word}}          | To trim down from the last space.
 
       | {{tl|last word}}          | To trim down from the last space.
 
       | {{tl|remove last word}}    | To remove anything after the last space.
 
       | {{tl|remove last word}}    | To remove anything after the last space.

Revision as of 10:58, 20 August 2015

Documentation icon Template documentation[create]