I noticed that this page comes up for generic google search of “string to char array ruby”.
If you just want to convert string to char array in ruby,
"string".chars
# ["s", "t", "r", "i", "n", "g"]
I noticed that this page comes up for generic google search of “string to char array ruby”.
If you just want to convert string to char array in ruby,
"string".chars
# ["s", "t", "r", "i", "n", "g"]