string.*

Type Library
Revision Release 2024.3703
Keywords string
See also Lua String Manipulation (guide)
String

Overview

This library provides generic functions for string manipulation, such as finding and extracting substrings, and pattern matching. This uses the standard Lua 5.1 library.

For more information, see the Lua String Manipulation guide.

Functions

string.byte()

string.char()

string.ends()

string.find()

string.format()

string.gmatch()

string.gsub()

string.len()

string.lower()

string.match()

string.rep()

string.reverse()

string.starts()

string.sub()

string.upper()