Doc - string


_G.string

This extends the default Lua string type

Functions

Return Name Description
string randomString(length: number, chars: table|nil) Returns a random string of specified length using the provided charset or the default (0-9, a-z, A-Z)
string cont(_str1: string, _str2: string) Checks if _str1 contains _str2
string split(_str1: string, _str2: string) Splits _str1 on _str2 including empty segments at the beginning or end
string start(_str1: string, _str2: string) Checks if _str1 starts with _str2
string end(_str1: string, _str2: string) Checks if _str1 ends with _str2