Template:String:Substring syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- This page was automatically generated and will be automatically
<!-- This page was automatically generated and will be automatically
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
<p class="syntax"><span class="term">%string</span><span class="literal">=</span> <span class="term">string</span><span class="literal">:Substring</span><span class="literal">(</span> <span class="term" title="Number">position</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">length</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</span><span class="squareb">]</span><span class="literal">)</span></p>
<p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">string</span><span class="literal">:Substring</span><span class="literal">(</span> <span class="term" title="Number">position</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">length</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="C">Pad=</span> <span class="term" title="C">c</span><span class="squareb">]</span><span class="literal">)</span></p>

Latest revision as of 23:58, 31 January 2011

%outString = string:Substring( position, [length], [Pad= c])