Simple types / Strings

var str = "1-3-2"
//str[2] = "3" //<-Error
//str.characters[2] = "3" //<-Error

var arr = Array(str)
arr.swapAt(24)
str = String(arr)
//str is "1-2-3"

print("str is \(str)")