Jump to content

Module:US elections imagemap/utils/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

String utilities for Module:US elections imagemap.

  • stripspaces(str) strips spaces from str.
  • split(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}}.