Template:Str crop: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{safesubst:#invoke:String | sub | s={{{1|}}} | 1 | {{safesubst:#expr: -{{{2|1}}} - 1}} | ignore_errors=true }}</includeonly><noinclude> {{documentation}}</noincl...") |
(No difference)
|
Revision as of 15:36, 27 August 2020
- The following documentation is located at Template:Str crop/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
Use to remove the right-most {{{2}}} characters of a string {{{1}}}.
Example
- code
{{str crop |Example |3}}
- result
- Exam