Template:Str crop

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Str crop/doc.


Usage

edit

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

Example

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

See also

edit

Template:String-handling templates