How can I remove last character from String variable using Swift? Can\'t find it in documentation.
Here is full example:
var expression = \"45+22\" e
var str = "bla" str.removeLast() // returns "a"; str is now "bl"