Page history
14 October 2022
9 October 2022
25 November 2021
25 April 2021
2 August 2020
3 November 2019
27 June 2019
27 May 2019
13 May 2019
en>RexxS
update renamed variable
+10
en>RexxS
export str._match function for use in other modules - syncing from sandbox
+282
4 May 2019
en>Mr. Stradivarius
use tabs instead of spaces, and remove trailing whitespace
m−1,120
en>Mr. Stradivarius
add an escapePattern function for escaping Lua patterns
+583
4 March 2019
26 April 2013
26 February 2013
25 February 2013
en>Dragons flight
adds updated match support with wider parameter choices, whitespace handling, etc.
+3,847
en>Dragons flight
fix pattern escape in replace function
+56
en>Dcoetzee
+Unit tests for this module are available at Module:String/tests.
+74
en>Dragons flight
accommodate the commonly used "no_category" function
+160
en>Dragons flight
improves commenting, adds whitespace and error handling to sub, improvements to error handling generally.
+2,745
24 February 2013
en>Dragons flight
add description and whitespace handling option for len
+436
en>Dragons flight
fix comment
−10
en>Dragons flight
include more generic replacement function
+773
en>WOSlinker
replace_plain fix
+6
en>WOSlinker
add str.replace_plain
+22
en>WOSlinker
add str.replace_plain
+1,428
en>Dragons flight
Continuing trials and tribulations of string trimming and Wikipedia template quirks
+1,301
22 February 2013
en>Dragons flight
Update to allow for unnamed parameters. This is necessary because some string function need to preserve leading / trailing whitespace in order to work properly.
+1,119
en>Dragons flight
add support for finding the position of a string or pattern inside another string.
+2,610
21 February 2013
en>Anomie
Oh, the existing code is 0-based
en>Anomie
+ substr variant that takes a length instead of an ending position
+194
en>Tim Starling
have sub return more than one character (broken by ID 538979768)