Reverse String By Using Split Method To Convert Our

[Solved] Reverse String By Using Split Method To Convert Our | Swift - Code Explorer | yomemimo.com
Question : Reverse string by using split () method to convert our string into an array

Answered by : softhunt

var stringToArray = "softhunt".split("");
["s", "o", "f", "t", "h", "u", "n", "t"]

Source : https://softhunt.net/how-to-reverse-a-string-in-javascript/ | Last Update : Sun, 17 Apr 22

Answers related to reverse string by using split method to convert our string into an array

Code Explorer Popular Question For Swift