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)|-blankstring-<!--blank | >{{#ifexpr:({{#if:{{{sublen|}}}|{{{sublen|}}}|1}}=0) or ({{{slen|1}}}=0)|-blankstring-<!--blank | ||
-->| | -->| | ||
{{#if:{{{triangle check|}}}|msg{{error|{{{triangle check|}}}}}| | {{#if:{{{triangle check|}}}|msg{{error|{{{triangle check|}}}}} | ||
|{{#invoke:String|sub | |||
|s={{{s|}}} | |s={{{s|}}} | ||
|i={{#ifeq:{{{invert|no}}}|yes|{{{j|}}}|{{{i|}}}}} | |i={{#ifeq:{{{invert|no}}}|yes|{{{j|}}}|{{{i|}}}}} | ||
Zeile 10: | Zeile 11: | ||
-->}}}}}}<<!-- | -->}}}}}}<<!-- | ||
-->{{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)}} | ||
}}<noinclude> | }}<noinclude> | ||
Version vom 6. März 2013, 11:50 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}}