Sandbox

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(str sub long)
(str sub long)
Line 7: Line 7:
* {{#titleparts:{{#ask: [[Category:Suggestion]] [[Suggestion list::2012-10-02 Mock/Critque]] | order=reverse | limit=1 | link=none | searchlabel= | default=Sug0 }}||-1}}
* {{#titleparts:{{#ask: [[Category:Suggestion]] [[Suggestion list::2012-10-02 Mock/Critque]] | order=reverse | limit=1 | link=none | searchlabel= | default=Sug0 }}||-1}}
* {{#titleparts:{{#ask: [[Category:Suggestion]] [[Suggestion list::2012-10-02 Mock/Critque]] | order=reverse | limit=1 | link=none | searchlabel= | default=Sug0 }}||-1}}
* {{#titleparts:{{#ask: [[Category:Suggestion]] [[Suggestion list::2012-10-02 Mock/Critque]] | order=reverse | limit=1 | link=none | searchlabel= | default=Sug0 }}||-1}}
 +
== str index/logic ==
 +
 +
<includeonly>{{{{{|safesubst:}}}#switch:{{{1}}}
 +
|*{{{2}}} *=&#32;
 +
|*{{{2}}}a*=a
 +
|*{{{2}}}b*=b
 +
|*{{{2}}}c*=c
 +
|*{{{2}}}d*=d
 +
|*{{{2}}}e*=e
 +
|*{{{2}}}f*=f
 +
|*{{{2}}}g*=g
 +
|*{{{2}}}h*=h
 +
|*{{{2}}}i*=i
 +
|*{{{2}}}j*=j
 +
|*{{{2}}}k*=k
 +
|*{{{2}}}l*=l
 +
|*{{{2}}}m*=m
 +
|*{{{2}}}n*=n
 +
|*{{{2}}}o*=o
 +
|*{{{2}}}p*=p
 +
|*{{{2}}}q*=q
 +
|*{{{2}}}r*=r
 +
|*{{{2}}}s*=s
 +
|*{{{2}}}t*=t
 +
|*{{{2}}}u*=u
 +
|*{{{2}}}v*=v
 +
|*{{{2}}}w*=w
 +
|*{{{2}}}x*=x
 +
|*{{{2}}}y*=y
 +
|*{{{2}}}z*=z<noinclude><!--
 +
--></noinclude>
 +
|*{{{2}}}A*=A
 +
|*{{{2}}}B*=B
 +
|*{{{2}}}C*=C
 +
|*{{{2}}}D*=D
 +
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
|*{{{2}}}~*=~
 +
|*{{{2}}}`*=`
 +
|*{{{2}}}{{=}}*={{=}}
 +
|*{{{2}}}-*=-
 +
|*{{{2}}}{{!}}*={{!}}
 +
|*{{{2}}}+*=+
 +
|*{{{2}}}_*=_
 +
|*{{{2}}}♣*=♣
 +
|*{{{2}}}♦*=♦
 +
|*{{{2}}}♥*=♥
 +
|*{{{2}}}♠*=♠<noinclude><!--
 +
--></noinclude>
 +
|{{FormattingError |nocategory={{{nocategory|}}} |Character not recognized by string_index}}
 +
}}</includeonly><noinclude>
 +
 +
{{documentation}}
 +
</noinclude>
 +
 +
== str index ==
 +
<includeonly>{{{{{|safesubst:}}}str ≥ len
 +
| 1 = {{{1|}}}
 +
| 2 = {{{2|0}}}
 +
| 3 = {{{{{|safesubst:}}}str index/logic |nocategory={{{nocategory|}}} |*{{{{{|safesubst:}}}str left |nocategory={{{nocategory|}}} |{{{1|}}}|{{{2|0}}}}}*|{{{{{|safesubst:}}}str left |nocategory={{{nocategory|}}} |{{{1|}}}|{{{{{|safesubst:}}}#expr:{{{2|0}}}-1}}}}}}
 +
| 4 = {{FormattingError |nocategory={{{nocategory|}}} |((str index)): String is not long enough.}}
 +
}}</includeonly><noinclude>
 +
{{documentation}}
 +
</noinclude>
 +
== str sub long ==
== str sub long ==
{{#ifeq:{{{2|0}}}|0|{{str_left |nocategory={{{nocategory|}}} |{{{1}}}|{{{3|0}}}}}|<noinclude><!--
{{#ifeq:{{{2|0}}}|0|{{str_left |nocategory={{{nocategory|}}} |{{{1}}}|{{{3|0}}}}}|<noinclude><!--

Revision as of 22:19, 2 March 2013

#SuggestionReferred to

Contents

next

  • 0
  • Sug0
  • 36
  • 2012-10-02 Mock/Critque/Sug9
  • Sug9
  • Sug9

str index/logic

This is the documentation for the template Sandbox

Sandbox/Doc:

Sandbox/Doc


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.


str index

This is the documentation for the template Sandbox

Sandbox/Doc:

Sandbox/Doc


To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.


str sub long

Template:Str left

str right

Template:Str sub long
Personal tools