So, I'm in the works of an admin of some sort. The work below is me attempting to get whats between the ";"'s of "str". The output only shows me "Name/Shortname:", and not the "net". There are no errors.
local str = "speed;net;41"
local t = string.find(str, ";")
if t then
local strt = string.sub(str, t+1)
local s = string.find(strt, ";")
if s then
print("Name/Shortname: "..string.sub(str, t+1, s-1))
end
end
If you are able to help me, can you also please explain why this is happening? Thank you.

1 comment
Thank you.