Vorlage:Str mid/core: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
{{#ifexpr:({{#if:{{{sublen|}}}|{{{sublen|}}}|1}}=0) or ({{{slen|1}}}=0)|<!--blank--> | |||
-->| | |{{#if:{{{triangle check|}}}|{{error|{{{triangle check|}}}}} | ||
{{#if:{{{triangle check|}}}| | |{{#invoke:String|sub | ||
|{{#invoke:String|sub | |||
|s={{{s|}}} | |s={{{s|}}} | ||
|i={{#ifeq:{{{invert|no}}}|yes|{{{j|}}}|{{{i|}}}}} | |i={{#ifeq:{{{invert|no}}}|yes|{{{j|}}}|{{{i|}}}}} | ||
Zeile 9: | Zeile 8: | ||
|{{#if:{{{error_category|}}}|error_category={{{error_category|}}}}} | |{{#if:{{{error_category|}}}|error_category={{{error_category|}}}}} | ||
|no_category={{{no_category|false}}}--><!-- | |no_category={{{no_category|false}}}--><!-- | ||
-->}}}}}} | -->}}}}}}<!-- | ||
-->{{yesno|{{{dbg|yes}}} | -->{{yesno|{{{dbg|yes}}} | ||
|yes={{{dbg_in|}}}_CORE:slen:{{{slen|u}}}_i={{{i|u}}}_j={{{j|u}}}_inv={{{invert|u}}}_tchk={{#if:{{{triangle check|}}}|TCHK|-}}_blankexpr:{{#expr:({{#if:{{{sublen|}}}|{{{sublen|}}}|1}}=0) or ({{{slen|1}}}=0)}} | |yes={{{dbg_in|}}}_CORE:slen:{{{slen|u}}}_i={{{i|u}}}_j={{{j|u}}}_inv={{{invert|u}}}_tchk={{#if:{{{triangle check|}}}|TCHK|-}}_blankexpr:{{#expr:({{#if:{{{sublen|}}}|{{{sublen|}}}|1}}=0) or ({{{slen|1}}}=0)}} |
Version vom 6. März 2013, 11:52 Uhr
String Module Error: String subset index out of range_CORE:slen:u_i=u_j=u_inv=u_tchk=-_blankexpr:0
- {{Str mid}}
- {{Str mid/core}}
- {{Str mid/testcases}}