Template:Str crop

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


Usage

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

Example

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

See also

Template:String-handling templates

Category:String manipulation templates
Category:String manipulation templates