splitString - EdgeIY/infiniteyield GitHub Wiki

Documentation

table splitString(<string> str, <string> sep)

Description

Splits str string by a separator sep. The results are stored in the returned table.

Example

--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
⚠️ **GitHub.com Fallback** ⚠️