src code

instance method String#toArray

String#toArray() → Array

Splits the string character-by-character and returns an array with the result.