Split empty string JavaScript code example Example: Split empty string JavaScript var str = "How are you doing today?"; var res = str.split("");