User:Samuelmichaels/Sandbox
From Spearfish Lake Tales Wiki
(Difference between revisions)
(tried the explode function) |
|||
Line 16: | Line 16: | ||
=== Zero-pad a Number === | === Zero-pad a Number === | ||
{{padleft:1|3}} | {{padleft:1|3}} | ||
+ | |||
+ | === Explode (split) === | ||
+ | Split "Busted Axle Road/04/3": | ||
+ | title = {{#explode|Busted Axle Road/04/3|/|1}}; | ||
+ | index = {{#explode|Busted Axle Road/04/3|/|2}}; | ||
+ | chapter digits = {{#explode|Busted Axle Road/04/3|/|3}}. |
Revision as of 14:58, 22 July 2011
Contents |
Test Area
Cite
Switch
Chapter 1
Ifeq
equal
Zero-pad a Number
001
Explode (split)
Split "Busted Axle Road/04/3": title = {{#explode|Busted Axle Road/04/3|/|1}}; index = {{#explode|Busted Axle Road/04/3|/|2}}; chapter digits = {{#explode|Busted Axle Road/04/3|/|3}}.