Template:Str right
Revision as of 12:26, 30 January 2021 by GuoPC (talk | contribs) (Added to Category:Auxiliary templates)
This template was originally from Template:Str right in English Wikipedia.
Usage
{{str right|<string>|<offset>}}
Gives the characters from <offset> to the end of the string.
A negative <offset> is treated the same as zero, which simply returns the original string.
If <offset> is longer than <string> then this returns an empty string.
If <offset> is invalid, empty or undefined, this template goes berserk, so please avoid.