Rune lib and __concat for variable libs.

This commit is contained in:
jussi
2024-01-30 13:36:23 +02:00
parent 143453af9e
commit d21512d88c
14 changed files with 145 additions and 27 deletions

View File

@@ -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