Difference between revisions of "Template:Str crop"

From Wikispooks
Jump to navigation Jump to search
m (1 revision imported)
 
en>Primefac
m (Changed protection level for "Template:Str crop": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(No difference)

Revision as of 17:02, 23 February 2018

Template documentation[view] [edit] [history] [purge]

Usage

Use to remove the right-most {{{2}}} characters of a string {{{1}}}.

Example

code
{{str crop |Example |3}}
result 
Exam

See also