split string in array on spcific character js code example Example: split array by character javascript s.split("");