Versionen
27. Januar 2023
19. Januar 2023
13. Januar 2023
21. Oktober 2021
2. August 2020
2. Juni 2020
3. November 2019
27. Juni 2019
27. Mai 2019
13. Mai 2019
update renamed variable
+10
export str._match function for use in other modules - syncing from sandbox
+282
4. Mai 2019
use tabs instead of spaces, and remove trailing whitespace
K−1.120
add an escapePattern function for escaping Lua patterns
+583
4. März 2019
20. Dezember 2017
31. März 2014
17. November 2013
keine Bearbeitungszusammenfassung
−25
keine Bearbeitungszusammenfassung
K−54
keine Bearbeitungszusammenfassung
Kkeine Bearbeitungszusammenfassung
K+75
keine Bearbeitungszusammenfassung
Kfalsch verstanden :)
+9
Test... laut Doku darf zweites Argumnet negativ sein ...
−9
keine Bearbeitungszusammenfassung
K
18. Oktober 2013
26. April 2013
26. Februar 2013
25. Februar 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
add description and whitespace handling option for len
+436
24. Februar 2013
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. Februar 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. Februar 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)
19. Februar 2013
Protected Module:String: Highly visible page ([Edit=Block all non-admin users] (indefinite) [Move=Block all non-admin users] (indefinite))
KUse named parameters, to get free trimming MediaWiki
−1
wrong syntax