.toArr()
Description
toArr converts the current string into an array of single-character strings. It is equivalent to [..."string"].
Parameters
toArr takes no parameters.
Usage On Strings
chars = "OSL".toArr()
// ["O","S","L"]Last updated
Was this helpful?