Module:US elections imagemap/utils/doc: Difference between revisions
Appearance
Content deleted Content added
create docs |
this module is finished |
||
Line 1: | Line 1: | ||
{{Module rating |release}} |
|||
{{tl|Module rating |<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}} |
|||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
||
=== Usage === |
=== Usage === |
Revision as of 07:02, 19 January 2021
Usage
String utilities for Module:US elections imagemap.
stripspaces(str)
strips spaces fromstr
.stripspaces(str, sep)
splitstr
into a table of strings at eachsep
.
Unlike many other string utilities on Wikipedia, these are designed to be called from another Lua script easily — not to be called directly with {{#invoke}}
.