-
Notifications
You must be signed in to change notification settings - Fork 349
splitString
Toon edited this page Jan 5, 2026
·
3 revisions
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
-- Example of a possible command: 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
endInfinite Yield
Plugins
Core Functions