word()

Syntax:

word( String, Index, Separator )

Return:

A single word from String. If the word specified by Index does not exist, and empty string is returned.

Parameters:

String - The string to be searched. The String can be any string surrounded by quote marks or any variable name containing a string. This parameter is required.

Index - The Index position of the word to return. The first word in String is Index position 1, the second word is Index position 2, and so on. Index must be entered as an integer. This parameter is required.

Separator - A string consisting of characters that separate words. This parameter is optional. If a Separator is not specified then words within String are assumed to be separated by spaces.

image\Script_Button.jpgExamples