string.gsub
doesn't add a space unless you ask it to, and in your pasted code you aren't asking it to. Are you sure there wasn't already a space after the /jk
in the string?
Also, if you're just trying to remove the first 3 characters, you should use string.sub(m, 4)
.