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

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (Updated template call.)
m ({{tl|remove last word}}; {{tl|last word}})
Line 41: Line 41:
 
       | {{tl|strip whitespace}}    | Less effective than {{tlf|trim}}.
 
       | {{tl|strip whitespace}}    | Less effective than {{tlf|trim}}.
 
       | {{tl|first word}}          | To trim down to the first space.
 
       | {{tl|first word}}          | To trim down to the first space.
 +
      | {{tl|remove first word}}  | To remove anything before the first space.
 
       }}
 
       }}
 
     | {{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|remove first word}}  | To remove anything before the first space.
 
 
       | {{tl|str letter/trim}}    | To trim down to the beginning letters.
 
       | {{tl|str letter/trim}}    | To trim down to the beginning letters.
 
       | {{tl|str number/trim}}    | To trim down to the beginning numbers.
 
       | {{tl|str number/trim}}    | To trim down to the beginning numbers.
 +
      | {{tl|last word}}          | To trim down from the last space.
 +
      | {{tl|remove last word}}    | To remove anything after the last space.
 
   }} }}
 
   }} }}
  

Revision as of 09:41, 19 December 2014

Documentation icon Template documentation[create]