Vorlage:Str mid/core: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 6: Zeile 6:
_sublen-calc={{#expr:{{{j|00}}}-{{{i|00}}}+1}}
_sublen-calc={{#expr:{{{j|00}}}-{{{i|00}}}+1}}
_in:{{{in|}}}{{#ifexpr:{{#ifeq:{{{sublen|}}}||0|{{{sublen|}}}}}<0|_INV}}{{{msg|}}}
_in:{{{in|}}}{{#ifexpr:{{#ifeq:{{{sublen|}}}||0|{{{sublen|}}}}}<0|_INV}}{{{msg|}}}
_{{yesno|{{{three values in|}}}|yes={{#ifexpr:({{{j|0}}}-{{{i|0}}}+1)<>{{{sublen|1}}}|{{error|Error using {{tl|Str mid}}: indexes i={{{i|}}} and j={{{j|}}} do not match requested substring length {{{sublen|}}}.|tag=span}}}}}}
_{{yesno|{{{three values in|}}}|yes={{#ifexpr:({{{j|0}}}-{{{i|0}}}+1)<>{{{sublen|1}}}|{{error|Error using {{tl|Str mid}}: indexes i={{{i|}}} and j={{{j|}}} do not match requested substring length {{{sublen|}}}.|tag=span}}|TRIANGLE OK}}}}
<br/>
<br/>
&rarr;>{{#invoke:String|sub
&rarr;>{{#invoke:String|sub
Anonymer Benutzer