3.2.60. WORD(string,wordno)

Returns the blank delimited word number wordno from the string
string. If wordno (which must be a positive whole number) refers
to a non-existing word, then a nullstring is returned. The result
will be stripped of any blanks.

     WORD(‘To be or not to be’, 3) –>   ‘or’
     WORD(‘To be or not to be’, 4) –>   ‘not’
     WORD(‘To be or not to be’, 8) –>   ‘’



PREV NEXT