Vorlage:Strsub

Aus Kitakien

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
-
{{#ifeq:{{{2|0}}}|0|{{User:Dragons_flight/trunc|{{{1}}}|{{{3|0}}}}}|<!--
+
<includeonly>{{#ifeq:{{{2|0}}}|0|{{str_left|{{{1}}}|{{{3|0}}}}}|<!--
-->{{#ifexpr:{{{2|0}}} <= 1 and {{{2|0}}} + {{{3|0}}} >= 1|<!--
-->{{#ifexpr:{{{2|0}}} <= 1 and {{{2|0}}} + {{{3|0}}} >= 1|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|1}}}}<!--
+
-->{{str_index|{{{1}}}|1}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 2 and {{{2|0}}} + {{{3|0}}} >= 2|<!--
-->{{#ifexpr:{{{2|0}}} <= 2 and {{{2|0}}} + {{{3|0}}} >= 2|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|2}}}}<!--
+
-->{{str_index|{{{1}}}|2}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 3 and {{{2|0}}} + {{{3|0}}} >= 3|<!--
-->{{#ifexpr:{{{2|0}}} <= 3 and {{{2|0}}} + {{{3|0}}} >= 3|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|3}}}}<!--
+
-->{{str_index|{{{1}}}|3}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 4 and {{{2|0}}} + {{{3|0}}} >= 4|<!--
-->{{#ifexpr:{{{2|0}}} <= 4 and {{{2|0}}} + {{{3|0}}} >= 4|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|4}}}}<!--
+
-->{{str_index|{{{1}}}|4}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 5 and {{{2|0}}} + {{{3|0}}} >= 5|<!--
-->{{#ifexpr:{{{2|0}}} <= 5 and {{{2|0}}} + {{{3|0}}} >= 5|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|5}}}}<!--
+
-->{{str_index|{{{1}}}|5}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 6 and {{{2|0}}} + {{{3|0}}} >= 6|<!--
-->{{#ifexpr:{{{2|0}}} <= 6 and {{{2|0}}} + {{{3|0}}} >= 6|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|6}}}}<!--
+
-->{{str_index|{{{1}}}|6}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 7 and {{{2|0}}} + {{{3|0}}} >= 7|<!--
-->{{#ifexpr:{{{2|0}}} <= 7 and {{{2|0}}} + {{{3|0}}} >= 7|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|7}}}}<!--
+
-->{{str_index|{{{1}}}|7}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 8 and {{{2|0}}} + {{{3|0}}} >= 8|<!--
-->{{#ifexpr:{{{2|0}}} <= 8 and {{{2|0}}} + {{{3|0}}} >= 8|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|8}}}}<!--
+
-->{{str_index|{{{1}}}|8}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 9 and {{{2|0}}} + {{{3|0}}} >= 9|<!--
-->{{#ifexpr:{{{2|0}}} <= 9 and {{{2|0}}} + {{{3|0}}} >= 9|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|9}}}}<!--
+
-->{{str_index|{{{1}}}|9}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 10 and {{{2|0}}} + {{{3|0}}} >= 10|<!--
-->{{#ifexpr:{{{2|0}}} <= 10 and {{{2|0}}} + {{{3|0}}} >= 10|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|10}}}}<!--
+
-->{{str_index|{{{1}}}|10}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 11 and {{{2|0}}} + {{{3|0}}} >= 11|<!--
-->{{#ifexpr:{{{2|0}}} <= 11 and {{{2|0}}} + {{{3|0}}} >= 11|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|11}}}}<!--
+
-->{{str_index|{{{1}}}|11}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 12 and {{{2|0}}} + {{{3|0}}} >= 12|<!--
-->{{#ifexpr:{{{2|0}}} <= 12 and {{{2|0}}} + {{{3|0}}} >= 12|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|12}}}}<!--
+
-->{{str_index|{{{1}}}|12}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 13 and {{{2|0}}} + {{{3|0}}} >= 13|<!--
-->{{#ifexpr:{{{2|0}}} <= 13 and {{{2|0}}} + {{{3|0}}} >= 13|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|13}}}}<!--
+
-->{{str_index|{{{1}}}|13}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 14 and {{{2|0}}} + {{{3|0}}} >= 14|<!--
-->{{#ifexpr:{{{2|0}}} <= 14 and {{{2|0}}} + {{{3|0}}} >= 14|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|14}}}}<!--
+
-->{{str_index|{{{1}}}|14}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 15 and {{{2|0}}} + {{{3|0}}} >= 15|<!--
-->{{#ifexpr:{{{2|0}}} <= 15 and {{{2|0}}} + {{{3|0}}} >= 15|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|15}}}}<!--
+
-->{{str_index|{{{1}}}|15}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 16 and {{{2|0}}} + {{{3|0}}} >= 16|<!--
-->{{#ifexpr:{{{2|0}}} <= 16 and {{{2|0}}} + {{{3|0}}} >= 16|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|16}}}}<!--
+
-->{{str_index|{{{1}}}|16}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 17 and {{{2|0}}} + {{{3|0}}} >= 17|<!--
-->{{#ifexpr:{{{2|0}}} <= 17 and {{{2|0}}} + {{{3|0}}} >= 17|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|17}}}}<!--
+
-->{{str_index|{{{1}}}|17}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 18 and {{{2|0}}} + {{{3|0}}} >= 18|<!--
-->{{#ifexpr:{{{2|0}}} <= 18 and {{{2|0}}} + {{{3|0}}} >= 18|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|18}}}}<!--
+
-->{{str_index|{{{1}}}|18}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 19 and {{{2|0}}} + {{{3|0}}} >= 19|<!--
-->{{#ifexpr:{{{2|0}}} <= 19 and {{{2|0}}} + {{{3|0}}} >= 19|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|19}}}}<!--
+
-->{{str_index|{{{1}}}|19}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 20 and {{{2|0}}} + {{{3|0}}} >= 20|<!--
-->{{#ifexpr:{{{2|0}}} <= 20 and {{{2|0}}} + {{{3|0}}} >= 20|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|20}}}}<!--
+
-->{{str_index|{{{1}}}|20}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 21 and {{{2|0}}} + {{{3|0}}} >= 21|<!--
-->{{#ifexpr:{{{2|0}}} <= 21 and {{{2|0}}} + {{{3|0}}} >= 21|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|21}}}}<!--
+
-->{{str_index|{{{1}}}|21}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 22 and {{{2|0}}} + {{{3|0}}} >= 22|<!--
-->{{#ifexpr:{{{2|0}}} <= 22 and {{{2|0}}} + {{{3|0}}} >= 22|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|22}}}}<!--
+
-->{{str_index|{{{1}}}|22}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 23 and {{{2|0}}} + {{{3|0}}} >= 23|<!--
-->{{#ifexpr:{{{2|0}}} <= 23 and {{{2|0}}} + {{{3|0}}} >= 23|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|23}}}}<!--
+
-->{{str_index|{{{1}}}|23}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 24 and {{{2|0}}} + {{{3|0}}} >= 24|<!--
-->{{#ifexpr:{{{2|0}}} <= 24 and {{{2|0}}} + {{{3|0}}} >= 24|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|24}}}}<!--
+
-->{{str_index|{{{1}}}|24}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 25 and {{{2|0}}} + {{{3|0}}} >= 25|<!--
-->{{#ifexpr:{{{2|0}}} <= 25 and {{{2|0}}} + {{{3|0}}} >= 25|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|25}}}}<!--
+
-->{{str_index|{{{1}}}|25}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 26 and {{{2|0}}} + {{{3|0}}} >= 26|<!--
-->{{#ifexpr:{{{2|0}}} <= 26 and {{{2|0}}} + {{{3|0}}} >= 26|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|26}}}}<!--
+
-->{{str_index|{{{1}}}|26}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 27 and {{{2|0}}} + {{{3|0}}} >= 27|<!--
-->{{#ifexpr:{{{2|0}}} <= 27 and {{{2|0}}} + {{{3|0}}} >= 27|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|27}}}}<!--
+
-->{{str_index|{{{1}}}|27}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 28 and {{{2|0}}} + {{{3|0}}} >= 28|<!--
-->{{#ifexpr:{{{2|0}}} <= 28 and {{{2|0}}} + {{{3|0}}} >= 28|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|28}}}}<!--
+
-->{{str_index|{{{1}}}|28}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 29 and {{{2|0}}} + {{{3|0}}} >= 29|<!--
-->{{#ifexpr:{{{2|0}}} <= 29 and {{{2|0}}} + {{{3|0}}} >= 29|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|29}}}}<!--
+
-->{{str_index|{{{1}}}|29}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 30 and {{{2|0}}} + {{{3|0}}} >= 30|<!--
-->{{#ifexpr:{{{2|0}}} <= 30 and {{{2|0}}} + {{{3|0}}} >= 30|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|30}}}}<!--
+
-->{{str_index|{{{1}}}|30}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 31 and {{{2|0}}} + {{{3|0}}} >= 31|<!--
-->{{#ifexpr:{{{2|0}}} <= 31 and {{{2|0}}} + {{{3|0}}} >= 31|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|31}}}}<!--
+
-->{{str_index|{{{1}}}|31}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 32 and {{{2|0}}} + {{{3|0}}} >= 32|<!--
-->{{#ifexpr:{{{2|0}}} <= 32 and {{{2|0}}} + {{{3|0}}} >= 32|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|32}}}}<!--
+
-->{{str_index|{{{1}}}|32}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 33 and {{{2|0}}} + {{{3|0}}} >= 33|<!--
-->{{#ifexpr:{{{2|0}}} <= 33 and {{{2|0}}} + {{{3|0}}} >= 33|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|33}}}}<!--
+
-->{{str_index|{{{1}}}|33}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 34 and {{{2|0}}} + {{{3|0}}} >= 34|<!--
-->{{#ifexpr:{{{2|0}}} <= 34 and {{{2|0}}} + {{{3|0}}} >= 34|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|34}}}}<!--
+
-->{{str_index|{{{1}}}|34}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 35 and {{{2|0}}} + {{{3|0}}} >= 35|<!--
-->{{#ifexpr:{{{2|0}}} <= 35 and {{{2|0}}} + {{{3|0}}} >= 35|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|35}}}}<!--
+
-->{{str_index|{{{1}}}|35}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 36 and {{{2|0}}} + {{{3|0}}} >= 36|<!--
-->{{#ifexpr:{{{2|0}}} <= 36 and {{{2|0}}} + {{{3|0}}} >= 36|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|36}}}}<!--
+
-->{{str_index|{{{1}}}|36}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 37 and {{{2|0}}} + {{{3|0}}} >= 37|<!--
-->{{#ifexpr:{{{2|0}}} <= 37 and {{{2|0}}} + {{{3|0}}} >= 37|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|37}}}}<!--
+
-->{{str_index|{{{1}}}|37}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 38 and {{{2|0}}} + {{{3|0}}} >= 38|<!--
-->{{#ifexpr:{{{2|0}}} <= 38 and {{{2|0}}} + {{{3|0}}} >= 38|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|38}}}}<!--
+
-->{{str_index|{{{1}}}|38}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 39 and {{{2|0}}} + {{{3|0}}} >= 39|<!--
-->{{#ifexpr:{{{2|0}}} <= 39 and {{{2|0}}} + {{{3|0}}} >= 39|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|39}}}}<!--
+
-->{{str_index|{{{1}}}|39}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 40 and {{{2|0}}} + {{{3|0}}} >= 40|<!--
-->{{#ifexpr:{{{2|0}}} <= 40 and {{{2|0}}} + {{{3|0}}} >= 40|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|40}}}}<!--
+
-->{{str_index|{{{1}}}|40}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 41 and {{{2|0}}} + {{{3|0}}} >= 41|<!--
-->{{#ifexpr:{{{2|0}}} <= 41 and {{{2|0}}} + {{{3|0}}} >= 41|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|41}}}}<!--
+
-->{{str_index|{{{1}}}|41}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 42 and {{{2|0}}} + {{{3|0}}} >= 42|<!--
-->{{#ifexpr:{{{2|0}}} <= 42 and {{{2|0}}} + {{{3|0}}} >= 42|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|42}}}}<!--
+
-->{{str_index|{{{1}}}|42}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 43 and {{{2|0}}} + {{{3|0}}} >= 43|<!--
-->{{#ifexpr:{{{2|0}}} <= 43 and {{{2|0}}} + {{{3|0}}} >= 43|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|43}}}}<!--
+
-->{{str_index|{{{1}}}|43}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 44 and {{{2|0}}} + {{{3|0}}} >= 44|<!--
-->{{#ifexpr:{{{2|0}}} <= 44 and {{{2|0}}} + {{{3|0}}} >= 44|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|44}}}}<!--
+
-->{{str_index|{{{1}}}|44}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 45 and {{{2|0}}} + {{{3|0}}} >= 45|<!--
-->{{#ifexpr:{{{2|0}}} <= 45 and {{{2|0}}} + {{{3|0}}} >= 45|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|45}}}}<!--
+
-->{{str_index|{{{1}}}|45}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 46 and {{{2|0}}} + {{{3|0}}} >= 46|<!--
-->{{#ifexpr:{{{2|0}}} <= 46 and {{{2|0}}} + {{{3|0}}} >= 46|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|46}}}}<!--
+
-->{{str_index|{{{1}}}|46}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 47 and {{{2|0}}} + {{{3|0}}} >= 47|<!--
-->{{#ifexpr:{{{2|0}}} <= 47 and {{{2|0}}} + {{{3|0}}} >= 47|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|47}}}}<!--
+
-->{{str_index|{{{1}}}|47}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 48 and {{{2|0}}} + {{{3|0}}} >= 48|<!--
-->{{#ifexpr:{{{2|0}}} <= 48 and {{{2|0}}} + {{{3|0}}} >= 48|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|48}}}}<!--
+
-->{{str_index|{{{1}}}|48}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 49 and {{{2|0}}} + {{{3|0}}} >= 49|<!--
-->{{#ifexpr:{{{2|0}}} <= 49 and {{{2|0}}} + {{{3|0}}} >= 49|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|49}}}}<!--
+
-->{{str_index|{{{1}}}|49}}}}<!--
-->{{#ifexpr:{{{2|0}}} <= 50 and {{{2|0}}} + {{{3|0}}} >= 50|<!--
-->{{#ifexpr:{{{2|0}}} <= 50 and {{{2|0}}} + {{{3|0}}} >= 50|<!--
-
-->{{User:Dragons_flight/string_index|{{{1}}}|50}}}}<!--
+
-->{{str_index|{{{1}}}|50}}}}<!--
-
-->{{#ifexpr:{{{2|0}}} > 50 or {{{2|0}}} + {{{3|0}}} > 50|{{FormattingError|max index is 50 for string_sub}}}}<!--
+
-->{{#ifexpr:{{{2|0}}} > 50 or {{{2|0}}} + {{{3|0}}} > 50|{{FormattingError|max index is 50 for str_sub}}}}<!--
-
-->}}
+
-->}}</includeonly><noinclude>
 +
 
 +
<nowiki>{{str_sub|</nowiki>''text''|''start''|''length''<nowiki>}}</nowiki> = Substring of ''text'' starting at ''start'' and containing ''length'' characters.  ''start'' + ''length'' must be less than 50.  Only operates on a limited character set.</noinclude>

Version vom 01:54, 27. Feb. 2009


{{str_sub|text|start|length}} = Substring of text starting at start and containing length characters. start + length must be less than 50. Only operates on a limited character set.

Persönliche Werkzeuge