Module:Text/doc

From Minecraft Wiki
Jump to: navigation, search
This is the documentation page. It will be transcluded into the main module page. See Template:Documentation for more information

This is an exact copy of the built-in mw.text.gsplit, mw.text.split, and mw.text.trim functions, just using the significantly faster string library instead of the ustring library. As such, this won't work properly if you're trying to split a string by unicode characters, or trim unicode characters from a string. Unicode characters being in the string should be fine though.