Anonymous
6/15/2025, 3:16:07 AM
No.105596785
[Report]
How I feel programming in Lua without a motherfucker saying how it's impossible to program with arrays that starts at index 1.
Anonymous
6/15/2025, 3:19:22 AM
No.105596796
[Report]
>>105596789
If you can't program your own string splitter are you really a programmer?
Anonymous
6/15/2025, 3:25:36 AM
No.105596831
[Report]
>>105596844
>>105596789
function SplitString(str, del)
local res = {}
local cur = 1
for i = 1, #str do
if str[i] == del then
local r = ""
for ii = cur, i do
r = r .. str[ii]
end
res[#res + 1] = r
cur = cur + #r
end
end
end
Anonymous
6/15/2025, 3:26:59 AM
No.105596844
[Report]
>>105596831
Forgot to return res thus you are a nigger.
Anonymous
6/15/2025, 10:07:43 AM
No.105598996
[Report]
No, to be fair he has a good argument. String splitting is an extremely.common operation and it being unavailable by default is really shitty. Same as ocaml being unusable because the stdlib has to be replaced to do anything with it.