Returns a specified word from a string.
GETWORDNUM(cString, nIndex[, cDelimiters])
- Specifies the string to be evaluated
- Specifies the index position of the word to be returned. For example, if nIndex is 3, GetWordNum(В ) returns the third word (if cString contains three or more words).
- Optional. Specifies one or more optional characters used to separate words in cString. The default delimiters are space, tab, carriage return, and line feed. Note that GetWordNum(В ) uses each of the characters in cDelimiters as individual delimiters, not the entire string as a single delimiter.
Returns the word at the position specified by nIndex in the target string, cString. If cString contains fewer than nIndex words, GetWordNum(В ) returns an empty string.