Template:Str rightmost: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#iferror: {{#invoke:String | sub | s={{{1}}} | -{{{2}}} }} | {{{1}}} }}</includeonly><noinclude> {{documentation}} </noinclude>") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#iferror: {{#invoke: | <includeonly>{{#iferror: {{#invoke:string|sub|s={{{1}}}|-{{{2}}}}}|{{{1}}}}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:46, 27 August 2020
- The following documentation is located at Template:Str rightmost/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
{{str rightmost|<string>|<offset>}}
Gives the rightmost <offset>
characters of the string.
Example
{{str rightmost|example|2}}
→ le