Module:US elections imagemap/utils/doc
Appearance
Usage
[edit]String utilities for Module:US elections imagemap.
stripspaces(str)
strips spaces fromstr
.split(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}}
.