mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
6 lines
219 B
Text
6 lines
219 B
Text
|
Returns an array of the characters in +self+:
|
|||
|
|
|||
|
'hello'.chars # => ["h", "e", "l", "l", "o"]
|
|||
|
'тест'.chars # => ["т", "е", "с", "т"]
|
|||
|
'こんにちは'.chars # => ["こ", "ん", "に", "ち", "は"]
|