Template:Str crop

From UBC Wiki
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

See also

Script error: The function "navbox" does not exist.