String
Funções auxiliares adicionais as da Std lib String do lua.
Atalhos
Métodos
Split
-- @param str The string to be splited.
-- @param pattern The string to be used as pattern.
-- @returns Table containing the splited strings
string.split(str, pattern)-- example usage:
local my_string = "my string here"
local result = string.split(my_string, " ")
-- {"my", "string", "here"}