Difference between revisions of "User:Arcorann/Sandbox"

From DereSute Wiki
Jump to: navigation, search
(Created page with "String function testing <pre>{{#len:string}}</pre> {{#len:string}}")
 
Line 3: Line 3:
 
<pre>{{#len:string}}</pre>
 
<pre>{{#len:string}}</pre>
 
{{#len:string}}
 
{{#len:string}}
 +
<pre>{{#pos:<nowiki>This is a </nowiki>test|test}}</pre>
 +
{{#pos:<nowiki>This is a </nowiki>test|test}}
 +
<pre>{{#rpos:This test is a test|test}}</pre>
 +
{{#rpos:This test is a test|test}}
 +
<pre>{{#sub:Icecream|3}}, {{#sub:Icecream|-3}}, {{#sub:Icecream|3|3}}, {{#sub:Icecream|3|-3}}</pre>
 +
{{#sub:Icecream|3}}, {{#sub:Icecream|-3}}, {{#sub:Icecream|3|3}}, {{#sub:Icecream|3|-3}}
 +
<pre>{{#sub:rl|0}}, {{#sub:rl|1}}</pre>
 +
{{#sub:rl|0}}, {{#sub:rl|1}}

Revision as of 01:13, 8 February 2017

String function testing

{{#len:string}}

6

{{#pos:This is a test|test}}

0

{{#rpos:This test is a test|test}}

15

{{#sub:Icecream|3}}, {{#sub:Icecream|-3}}, {{#sub:Icecream|3|3}}, {{#sub:Icecream|3|-3}}

cream, eam, cre, cr

{{#sub:rl|0}}, {{#sub:rl|1}}

rl, l