how to split a string into character array in js code example Example: split array by character javascript s.split("");