windows="0.00922 0.04794 0.11505 0.20634 0.31608 0.43738 0.56262 0.68392 0.79366 0.88495 0.95206 0.99078 0.995 0.999" IFS=' ' read -a strarr <<< "$windows" echo "There are ${#strarr[*]} words in the text."