960
edits
m (New test) |
m (New test) |
||
Line 1: | Line 1: | ||
{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#sub:{{{keys}}}|0|{{#pos:{{{keys}}}|{{{key}}}}}}}|notfound}}· | {{#len:{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}|notfound}}}}· | ||
{{#sub:#{{{keys}}}|0|{{#expr:{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}} + 1}} }}· | {{#sub:#{{{keys}}}|0|{{#expr:{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}} + 1}} }}· | ||
{{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}}· | {{#if:{{#pos:{{{keys}}}|{{{key}}}}}|{{#pos:{{{keys}}}|{{{key}}}}}|-1}}· | ||
{{#expr:{{#len:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}}} - {{#len:{{#replace:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}|#|}}}}}} | {{#expr:{{#len:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}}} - {{#len:{{#replace:{{#sub:#{{{keys}}}|0|{{#pos:#{{{keys}}}|{{{key}}}}}}}|#|}}}}}} |
edits