Module:string/compare: Revision history

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.

14 April 2026

  • curprev 20:2920:29, 14 April 2026 Sware talk contribs 3,216 bytes +3,216 Created page with "local byte = string.byte local match = string.match local sub = string.sub --[==[ A comparison function for strings, which returns {true} if {a} sorts before {b}, or otherwise {false}; it can be used as the sort function with {table.sort}. This function always sorts using byte-order, which makes it roughly equivalent to the {<} operator, but with fixes for two serious bugs raised in phab:T193096#4161287 and phab:T49137#9167559: * {<} is supposed to compare UTF-..."