Converts a string to an array of characters.
...
) to convert the string into an array of characters.const toCharArray = s => [...s];
toCharArray('hello'); // ['h', 'e', 'l', 'l', 'o']
JavaScript, String
Converts a comma-separated values (CSV) string to a 2D array of objects. The first row of the string is used as the title row.
JavaScript, String
Creates a string with uppercase characters converted to lowercase and vice versa.
JavaScript, String
Converts an hsl()
color string to an array of values.