Developer Forum | Roblox
How would you remove the last char of a string
Help and Feedback
Scripting Support
DaMajestick
(sawgduffelbagdabG)
July 5, 2021, 2:22am
1
How would you remove the last char of a string?
2 Likes
kylerzong
(kylerzong)
July 5, 2021, 2:28am
2
local str = "123" str = str:sub(1, #str-1)
4 Likes
What's wrong with my code? (string:sub)