Jump to content

Module:US elections imagemap/utils/doc: Difference between revisions

From Humanipedia
m Usage: didn't realize I had this typo'd lol
 
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 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}}.