Returns the position of the first character in the
nth whitespace-delimited word in the
receiving string. It returns
0 if the receiving string has fewer than
n words. The n must be a positive whole number.
Example 5.135. String class — wordIndex method
"Now is the time"~wordIndex(3)--> 8"Now is the time"~wordIndex(6)--> 0