Module:StringReplace: Revision history

From Terra Invicta Official Wiki

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.

19 January 2026

  • curprev 18:5818:58, 19 January 2026 Redwah talk contribs 519 bytes +2 No edit summary
  • curprev 18:5118:51, 19 January 2026 Redwah talk contribs 517 bytes +517 Created page with "-- This is a helper module for replacing text in strings local p = {} local sfind = string.find local ssub = string.sub -- Replaces ONE instance of the stringToReplace with replacementString in the fullString function replace(fullString, stringToReplace, replacementString) local si, ei = sfind(fullString, stringToReplace, 1, true) if not si then return fullString end local prefix = ssub(fullString,1,si - 1) local suffix = ssub(fullString,ei+1) return prefix ....."