Vorlage:Str mid/core: Unterschied zwischen den Versionen
(code diry? - clean) |
(from notepad) |
||
Zeile 1: | Zeile 1: | ||
>{{#ifexpr:({{#if:{{{sublen|}}}|{{{sublen|}}}|1}}=0) or ({{{slen|1}}}=0)|-blankstring-<!-- blank | |||
-->|INVOKE{{#invoke:String|sub | |||
|s={{{s|}}} | |||
|i={{#ifeq:{{{invert|no}}}|yes|{{{j|}}}|{{{i|}}}}} | |||
|j={{#ifeq:{{{invert|no}}}|yes|{{{i|}}}|{{{j|}}}}} | |||
<!--|ignore_errors={{{ignore_errors|false}}} | |||
|{{#if:{{{error_category|}}}|error_category={{{error_category|}}}}} | |||
|no_category={{{no_category|false}}}--><!-- | |||
-->}}}}<<!-- | |||
-->{{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)}}_invoke:{{#invoke:String|len|s={{{s|}}}}} | |||
}}<noinclude> | |||
* {{tl|Str mid}} | |||
* {{tl|Str mid/core}} | |||
* {{tl|Str mid/testcases}} | |||
</noinclude> |
Version vom 6. März 2013, 11:46 Uhr
>INVOKEString Module Error: String subset index out of range<_CORE:slen:u_i=u_j=u_inv=u_tchk=-_blankexpr:0_invoke:0
- {{Str mid}}
- {{Str mid/core}}
- {{Str mid/testcases}}