javascript add space between characters code example Example: node string to chars with spaces in between let str = 'hello' str.split('').join(' '); // "h e l l o"