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?
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 :)