chars

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.

doc_ruby_on_rails
2015-05-15 14:37:13
Comments
Leave a Comment

Please login to continue.