For example, I'd like to turn "hello"
into list(104, 101, 108, 108, 111)
or list("h", "e", "l", "l", "o")
So far I've created an empty list, used foreach
and appended every item to the list myself, but that's not really a concise way to do it.