Template:NumberNabber: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 1: Line 1:
{{#vardefine:string|{{#sub:{{{1|Check}}}|0|{{#pos:{{{1|Check}}}|{{{2|C}}}}}}}}}
{{#vardefine:pos|{{#pos:{{{1|Check}}}|{{{2|C}}}}}}}
{{#invoke:String|match|{{#var:string}}|%d*||-1||?}}
{{#vardefine:string|{{#sub:{{{1|Check}}}|{{#expr:{{#var:pos}} - 10}}|{{#var:pos}}}}
{{#regex:{{#var:string}}|.[0-9]}}

Revision as of 08:03, 9 June 2021

{{#vardefine:string|Check {{#regex:|.[0-9]}}