Module:String/doc
Examples
edit{{#invoke:string|sub|[[Help:Contents]]|3|-3}}
→ Help:Contents{{#invoke:string|length|Help:Contents}}
→ Script error: The function "length" does not exist.{{#invoke:string|find|Help:Contents|Contents}}
→ 6{{#invoke:string|find|Help:Contents|Contents|yes|no}}
→ 6{{#invoke:string|find|Help:Contents|ABC|yes|no}}
→ 0{{#invoke:string|replace|Help:Contents|Contents|Lua}}
→ Help:Lua{{#invoke:string|trim|--Help:Contents--|-}}
→ Script error: The function "trim" does not exist.
This is a documentation subpage for Module:String It contains usage information, categories and other content that is not part of the original module page. |