12 September 2020
2 August 2020
26 April 2013
Add "rep" function per request by User:קיפודנחש at Wikipedia:Lua requests#Template:Loop and Template:Loop15. Copied from sandbox.
26 February 2013
25 February 2013
24 February 2013
fix pattern escape in replace function
+Unit tests for this module are available at Module:String/tests.
accommodate the commonly used "no_category" function
improves commenting, adds whitespace and error handling to sub, improvements to error handling generally.
add description and whitespace handling option for len
include more generic replacement function
23 February 2013
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.
add support for finding the position of a string or pattern inside another string.
20 February 2013
Oh, the existing code is 0-based
+ substr variant that takes a length instead of an ending position
have sub return more than one character (broken by ID 538979768)