converting string to array usilg string.split in js code example Example: split array by character javascript s.split("");