Rune lib and __concat for variable libs.
This commit is contained in:
@@ -83,14 +83,14 @@ function utillib.tableLen( t )
|
||||
return count
|
||||
end
|
||||
|
||||
function utillib.split( str, sep )
|
||||
function utillib.split( string, sep )
|
||||
if sep == nil then
|
||||
sep = "%s"
|
||||
end
|
||||
|
||||
local t = {}
|
||||
|
||||
for str in string.gmatch( str, "([^"..sep.."]+)" ) do
|
||||
for str in string.gmatch( string, "([^"..sep.."]+)" ) do
|
||||
table.insert( t, str )
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user