I want a user to input a word like hello
and I want to split the word into an array of individual characters, like ["h", "e", "l", "l", "o"]
.
I've already tried the String#split()
method, but I don't know what argument to use to split each letter.