fix(array): Array.from string delimiter

This commit is contained in:
Linden
2025-01-29 08:02:06 +11:00
parent 6a24f9b971
commit 189306d5aa

View File

@@ -37,7 +37,7 @@ function lib.array:from(iter)
end
if iterType == 'string' then
return lib.array:new(string.strsplit('delimiter', iter))
return lib.array:new(string.strsplit('', iter))
end
if iterType == 'function' then