<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AStr_rightc%2Fdoc</id>
	<title>Module:Str rightc/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AStr_rightc%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:Str_rightc/doc&amp;action=history"/>
	<updated>2026-11-01T07:41:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Module:Str_rightc/doc&amp;diff=127496&amp;oldid=prev</id>
		<title>Wikipedia&gt;Pppery: {{used in system}}</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:Str_rightc/doc&amp;diff=127496&amp;oldid=prev"/>
		<updated>2026-07-27T20:36:49Z</updated>

		<summary type="html">&lt;p&gt;{{used in system}}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}}&lt;br /&gt;
{{used in system}}&lt;br /&gt;
&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This implements: {{tlx|str rightc}} but if {{para|notemplate}} is set to a non-empty string, arguments from the invocation can be used.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
: {{mlx|str rightc|rightc|notemplate{{=}}1|{{var|string}}|{{var|count}}}}&lt;br /&gt;
: {{mlx|str rightc|rightc|notemplate{{=}}1|{{var|string}}|{{var|count}}|{{var|result if empty}}}}&lt;br /&gt;
&lt;br /&gt;
Gives a substring of length {{var|count}} characters from the right-side end of the string, or, if provided, returns {{var|result if empty}} when string is empty.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
* &amp;lt;syntaxhighlight inline lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{#invoke:str rightc|rightc|notemplate=1 |Lorem ipsum dolor sit amet |10}}&amp;lt;/syntaxhighlight&amp;gt; → {{#invoke:str rightc|rightc|notemplate=1 |Lorem ipsum dolor sit amet |10}}&lt;br /&gt;
* &amp;lt;syntaxhighlight inline lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{#invoke:str rightc|rightc|notemplate=1 |Lorem ipsum dolor sit amet |1}}&amp;lt;/syntaxhighlight&amp;gt; → {{#invoke:str rightc|rightc|notemplate=1 |Lorem ipsum dolor sit amet |1}}&lt;br /&gt;
* &amp;lt;syntaxhighlight inline lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{#invoke:str rightc|rightc|notemplate=1 |Lorem ipsum dolor sit amet |0}}&amp;lt;/syntaxhighlight&amp;gt; → {{#invoke:str rightc|rightc|notemplate=1 |Lorem ipsum dolor sit amet |0}}&lt;br /&gt;
* &amp;lt;syntaxhighlight inline lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{#invoke:str rightc|rightc|notemplate=1 | |1 |string is empty}}&amp;lt;/syntaxhighlight&amp;gt; → {{#invoke:str rightc|rightc|notemplate=1 | |1 |string is empty}}&lt;br /&gt;
* &amp;lt;syntaxhighlight inline lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{#invoke:str rightc|rightc|notemplate=1 |123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-1 |99}}&amp;lt;/syntaxhighlight&amp;gt; → {{#invoke:str rightc|rightc|notemplate=1 |123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-1 |99}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Modules that manipulate strings]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Pppery</name></author>
	</entry>
</feed>