Template:Str crop/doc

Category:Template documentation#Str%20crop/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:Template documentation