toArr converts the current string into an array of single-character strings. It is equivalent to [..."string"].
toArr
[..."string"]
toArr takes no parameters.
chars = "OSL".toArr() // ["O","S","L"]
Last updated 3 months ago