R
Ruby Student
[Note: parts of this message were removed to make it a legal post.]
Team,
I am trying to convert a string of arbitrary size to an array of single
characters, bu I having a hard time.
A google search "Ruby" "string to array" returned thousands of hits. I
checked couple dozens but none satisfy what I want.
Say I get a user-supplied string (alphanumeric & special chars) of arbitrary
length.
How can I convert that string to an array of single chars?
Thank you
Team,
I am trying to convert a string of arbitrary size to an array of single
characters, bu I having a hard time.
A google search "Ruby" "string to array" returned thousands of hits. I
checked couple dozens but none satisfy what I want.
Say I get a user-supplied string (alphanumeric & special chars) of arbitrary
length.
How can I convert that string to an array of single chars?
Thank you