Template:Str crop

Documentation icon 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