What is the difference between #split and #chars in Ruby when splitting a string?
"Hello, World".split("")
#=> ["H", "e", "l", "l", "o", ",", " ", "W", "o", "r", "l", "d"]
"Hello, World".chars
#=> ["H", "e", "l", "l", "o", ",", " ", "W", "o", "r", "l", "d"]
They both return an array, and they both include the blank space and punctuation.
Is there a scenario where one is preferable?