javascript split string into array on character coutn code example Example: split array by character javascript s.split("");