gokhancokkececi gokhancokkececi - 8 months ago 45
Swift Question

How do you get the last character of a string without using array on swift?

I got a string

let stringPlusString = TextBoxCal.text

I want to get last character of
i do not want to use array on java exist
but i can not find like this keyword on swift


For Swift 2.x and Swift 3:

let str = "hello world