split textContent in array javascript code example Example: split array by character javascript s.split("");