#code doesn't work
1 messages · Page 1 of 1 (latest)
it prints it
;compile
local text="string.sub"
for i=1, #text do
local text2=string.sub(text,0,i)
print(text2)
end```
Program Output
s
st
str
stri
strin
string
string.
string.s
string.su
string.sub
sk1zzy_l4zy | lua | lua-5.4.7 | wandbox.org
what are u trying to do
fun fact i js made this post because i got bored
☠️