how to remove the last character of a string ios swift code example
Example: remove last character from string swift
var str = "bla"
str.removeLast() // returns "a"; str is now "bl"
var str = "bla"
str.removeLast() // returns "a"; str is now "bl"