Note that when solving the AtCoder problem, I had to split the string character by character.
let charArray = Array("abcdef")
print(charArray)
// ["a", "b", "c", "d", "e", "f"]
print(type(of: charArray[0]))
// Character
Recommended Posts