I want to do different operations with the characters in a string e.g. map or reverse. As a first step I want to convert the string into a sequence.
Given a string like "ab".
How do I get a sequence like @['a','b']
?
"ab".split("")
returns the whole string.
I have seen an example with "ab".items
before, but that doesn't seem to work (is that deprecated?)