how to remove the last character of a string ios objc code example
Example: remove last character string
let str = "Hello world"
let strWithoutLastChar = str.substring(0, str.length - 1)
let str = "Hello world"
let strWithoutLastChar = str.substring(0, str.length - 1)