Page history
21 May 2021
2 August 2020
16 November 2019
3 November 2019
27 June 2019
27 May 2019
13 May 2019
update renamed variable
+10
export str._match function for use in other modules - syncing from sandbox
+282
4 May 2019
use tabs instead of spaces, and remove trailing whitespace
m−1,120
add an escapePattern function for escaping Lua patterns
+583
4 March 2019
8 January 2019
26 September 2018
Reverted edits by 121.211.106.185 (talk) to last version by 46.194.87.168
m+15,736
Blanked the page
−15,745
24 June 2018
30 April 2018
4 April 2018
5 February 2018
9 September 2017
1 February 2016
25 August 2015
9 October 2014
7 February 2014
Undo revision 901030 by Technical 13 (talk) Updated all the templates and documentation I could find using this... Will need to fix some transclusions of one of them, but making progress.
+14,977
Reverting until it can be figured out why this update broke Template:Strlen and Template:git
−14,977
as copied directly from en:Module:String
+14,977
17 May 2013
16 May 2013
26 April 2013
26 February 2013
add nomatch option to str.match
+14,925
Undo revision 652101 (it's breaking {Str sub}} and {{git}}) by Dragons flight (talk)
−14,668
replace with enwiki's version which is more mature
25 February 2013
adds updated match support with wider parameter choices, whitespace handling, etc.
+3,847
fix pattern escape in replace function
+56
+Unit tests for this module are available at Module:String/tests.
+74
accommodate the commonly used "no_category" function
+160
improves commenting, adds whitespace and error handling to sub, improvements to error handling generally.
+2,745
24 February 2013
add description and whitespace handling option for len
+436
fix comment
−10
include more generic replacement function
+773
replace_plain fix
+6
add str.replace_plain
+22
add str.replace_plain
+1,428
Continuing trials and tribulations of string trimming and Wikipedia template quirks
+1,301
22 February 2013
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
add support for finding the position of a string or pattern inside another string.
+2,610
21 February 2013
Oh, the existing code is 0-based
+ substr variant that takes a length instead of an ending position
+194
have sub return more than one character (broken by ID 538979768)