If you’re using Ruby, then you can just do .chars on the string, it turns the string into an array.
- "Hello".chars # outputs: ["H", "e", "l", "l", "o"]
Other languages have similar functions in their standard library. If you posted which language you were using I can give you a method for that language.