5 lines
76 B
Lua
5 lines
76 B
Lua
|
|
||
|
local name = "foo:bar"
|
||
|
local modname = name:gsub(":.*", "")
|
||
|
print(modname)
|