From 189306d5aac329b39543dd4c7ac93f18361e561f Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Wed, 29 Jan 2025 08:02:06 +1100 Subject: [PATCH] fix(array): Array.from string delimiter --- imports/array/shared.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/array/shared.lua b/imports/array/shared.lua index 343e9da..4c56157 100644 --- a/imports/array/shared.lua +++ b/imports/array/shared.lua @@ -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