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