Product SiteDocumentation Site

7.4.74. WORD


>>-WORD(string,n)----------------------------------------------><

Returns the nth whitespace-delimited word in string or returns the null string if less than n words are in string. n must be a positive whole number. This function is equal to SUBWORD(string, n,1).
Here are some examples:

Example 7.102. Builtin function WORD

WORD("Now is the time",3)    ->    "the"
WORD("Now is the time",5)    ->    ""