Template:String-handling templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jdaloner
m Updated template call.
meta>Useddenim
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 13:41, 19 December 2014