Template:String-handling templates: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
(added {{repeat}})
meta>Sardanaphalus
(added entry (needs description))
Line 22: Line 22:
       | {{tl|str crop}}      | To crop a specified number of characters off the end.
       | {{tl|str crop}}      | To crop a specified number of characters off the end.
       | {{tl|chop head and tail}} | To crop a specified number of characters off the beginning and end.
       | {{tl|chop head and tail}} | To crop a specified number of characters off the beginning and end.
       | {{tl|str right}}     | To trim the first specified number of characters.
       | {{tl|choptext}}     |  
       }}
       }}
     | {{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 right}}    | To trim the first specified number of characters.
       | {{tl|str rightc}}    | To return a number of characters from the end, returns a parameter if the string is empty.
       | {{tl|str rightc}}    | To return a number of characters from the end, returns a parameter if the string is empty.
       | {{tl|str rightmost}} | To trim down to the last specified number of characters.
       | {{tl|str rightmost}} | To trim down to the last specified number of characters.

Revision as of 11:29, 24 January 2015