split

Run Settings
LanguageLua
Language Version
Run Command
print("Hello World!"); function split(inputstr, sep) if sep == nil then sep = "%s" end local t={} ; i=1 for str in string.gmatch(inputstr, "([^"..sep.."]+)") do t[i] = str i = i + 1 end return t end list=split("1-2--3---4","-+"); for k,v in ipairs(list) do print(v); end
Editor Settings
Theme
Key bindings
Full width
Lines