2013-04-02 09:55:45 -03:00

5 lines
76 B
Lua

local name = "foo:bar"
local modname = name:gsub(":.*", "")
print(modname)