Difference between revisions of "Template:Str right/doc"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(Berserk.) |
m (m) |
||
Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
− | < | + | <code>{{Tlx|Str right|<string>|<offset>}}</code> |
Gives the characters from <offset> to the end of the string. | Gives the characters from <offset> to the end of the string. |
Revision as of 20:58, 7 October 2009
This is a documentation subpage for Template:Str right. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
<code>{{Str right|<string>|<offset>}}
</code>
Gives the characters from <offset> to the end of the string.
If <count> is invalid, empty or undefined, this template goes berserk, so don't do that.
Examples
- {{Str right| lorem ipsum dolor sit amet | 10 }} → Expression error: Unrecognized punctuation character "{".
- {{Str right| lorem ipsum dolor sit amet | 1 }} → Expression error: Unrecognized punctuation character "{".
- {{Str right| lorem ipsum dolor sit amet | foo }} → Expression error: Unrecognized word "foo".
Limitations
- Up to 50 char strings. Limited set of characters, perhaps.
- Expensive.
See also
- {{Trunc}}
- {{Str left}}
- {{Str rightc}}