array of strings split strings javascript code example Example: split array by character javascript s.split("");