Comprehensive Windows framework to develop in Lua
modules > string

string module

Strings in Luart are considered as containers for UTF8 characters, where in standard Lua, strings are containers for bytes, as explained in the Compatibility section
The string module in Luart provides generic functions for string manipulation, such as finding and extracting substrings, and pattern matching.
That means that all standard Lua strings functions can be used with UTF8 encoded strings using the standard Lua string functions : see the Lua 5.4 String module reference.
The string module in Luart adds or modifies the following elements :