Template:StringTokenizer:NextToken syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 3: | Line 3: | ||
<p class="syntax"><span class="squareb">[</span><span class="term">%string</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">stringTokenizer</span><span class="literal">:NextToken</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Number">Skip=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Default=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | <p class="syntax"><span class="squareb">[</span><span class="term">%string</span><span class="literal"> =</span><span class="squareb">]</span> <span class="term">stringTokenizer</span><span class="literal">:NextToken</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="literal" title="Number">Skip=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal" title="String">Default=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
Throws [[MismatchedQuote class|MismatchedQuote]], [[ | Throws [[MismatchedQuote class|MismatchedQuote]], [[OutOfBounds class|OutOfBounds]] |
Revision as of 20:51, 14 November 2012
[%string =] stringTokenizer:NextToken[( [Skip= number], [Default= string])]
Throws MismatchedQuote, OutOfBounds