Read Me - Common Public License V1.0 - Copyright Notice(©)

word


>>-word(n)-----------------------------------------------------><

Returns the [n] th whitespace-delimited word in the receiving string or the null string if the receiving string has fewer than [n] words. The [n] must be a positive whole number. This method is exactly equivalent to receiving_string~subWord(n,1).

String class - word method

"Now is the time"~word(3)    ->    "the"
"Now is the time"~word(5)    ->    ""

Read Me - Common Public License V1.0 - Copyright Notice(©)