Jump to content

Module:StringUtil: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

2 May 2025

  • curprev 11:1911:19, 2 May 2025 Sharkius talk contribs 418 bytes −115 No edit summary Tags: Mobile edit Mobile web edit
  • curprev 09:1809:18, 2 May 2025 Sharkius talk contribs 533 bytes +533 Created page with "local p = {} -- Removes "EF" prefix and "+" suffix, e.g., EF3+ → 3 function p.stripEFPlus(frame) local input = frame.args[1] or "" return input:gsub("^EF", ""):gsub("%+$", "") end -- Removes "EF" prefix only, e.g., EF3+ → 3+ function p.stripEFPrefix(frame) local input = frame.args[1] or "" return input:gsub("^EF", "") end -- Adds "+" if the input ends in "+", else returns empty function p.plusSuffix(frame) local input = frame.args[1] or "" if input:match("%+..."