str.chars â an_array
Instance Public methods
Returns an array of characters in str. This is a shorthand for
str.each_char.to_a
.
If a block is given, which is a deprecated form, works the same as
each_char
.
Returns an array of characters in str. This is a shorthand for
str.each_char.to_a
.
If a block is given, which is a deprecated form, works the same as
each_char
.
Designed by : w10schools
service@w10schools.com
Please login to continue.