Module:US elections imagemap/utils/doc: Difference between revisions
Appearance
m →Usage: didn't realize I had this typo'd lol |
Humanipedia (talk | contribs) m 1 revision imported |
(No difference)
|
Latest revision as of 01:51, 6 February 2025
Usage[edit source]
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}}
.