splitString - EdgeIY/infiniteyield GitHub Wiki
table splitString(<string> str, <string> sep)
Splits str
string by a separator sep
. The results are stored in the returned table.
--Note: This is just a snippet
--Command: getRGBcolor
--User Input: getRGBColor 255,0,100
["Function"] = function(args,speaker)
local colors = splitString(args[1],",")
local r = colors[1] -->255
local g = colors[2] -->0
local b = colors[3] -->100
end