Template:Str right/doc

From Moegirlpedia
< Template:Str right
Revision as of 04:24, 25 November 2019 by 公的驱逐舰 (talk | contribs) (Created page with "{{FromOther|English Wikipedia|[https://en.wikipedia.org/wiki/Template:Str_right Template:Str right]}} == Usage == <code><nowiki>{{str right|<string>|<offset>}}</nowiki></cod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.