Jump to content

Module:US elections imagemap/utils/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Elli (talk | contribs) at 07:01, 19 January 2021 (create docs). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

{{Module rating }}

Usage

String utilities for Module:US elections imagemap.

  • stripspaces(str) strips spaces from str.
  • stripspaces(str, sep) split str into a table of strings at each sep.

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}}.