https://wiktenauer.com/index.php?title=Template:Str_sub/doc&feed=atom&action=historyTemplate:Str sub/doc - Revision history2024-03-29T08:10:08ZRevision history for this page on the wikiMediaWiki 1.34.2https://wiktenauer.com/index.php?title=Template:Str_sub/doc&diff=16303&oldid=prevMichael Chidester: 1 revision2012-09-23T02:29:16Z<p>1 revision</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --><br />
<br />
=== Usage ===<br />
<br />
<nowiki>{{str_sub|</nowiki>''text''|''start''|''length''<nowiki>}}</nowiki> = Substring of ''text'' starting at ''start'' and containing ''length'' characters. Base 0: the first character is numbered 0, and so on, e.g. <nowiki>{{str_sub|20090624130510|8|2}}</nowiki> returns the 2 characters starting at the 9th, i.e. "{{str_sub|20090624130510|8|2}}"<br />
<br />
''start'' + ''length'' must be less than 50. Only operates on a limited character set.<br />
<br />
<br />
=== See also ===<br />
<br />
<includeonly><br />
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --><br />
{{pp-template}}<br />
[[Category:String manipulation templates]]<br />
<br />
</includeonly></div>Michael Chidester