string
Show Deprecated
The string library provides generic functions to manipulate strings, such as to extract substrings or match patterns. You can access the string library by the global string library.
See String Pattern Reference for details on using string.match() and string.gmatch() to find a piece, or substring, of a longer string.