Discord
Login
Community
DARK THEME

Editing strings

hi I’m making a “messaging app” to test my server skills and i cannot for the life of me figure out how to delete characters from the end of a string

How could i do this?

backSpace = function(string)
 string.substring(0,string.length-1)
end

this will return the string minus the last character

Thx this is super helpful :)

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community