# word

### word(source, integer)

Returns the word in the string at the position specified by the argument integer.

## Arguments

Argument | Data Type | Description
source | string | String to search
integer | integer | The word of the string at the position specified by the integer argument

## Returns

The word in the string determined by the integer argument, or an empty string if no word is found.

## Description

word() is used to return a word from a string. The string can be of any length and on any amount of lines. A value of 1 will return the first word. If no match is found then an empty string is returned

## Examples

Assume that:

1. The field MyField has the string "The quick brown fox"

Example | Returns | Description
word("The slow grey turtle", 3) | "grey" | Returns the third word in the string
find(#MyField, 5) | "" | Looks for the 5th word in the string, and returns an empty string when not found
word(#MyField, "4") | "fox" | Finds the 4th word in field MyField

## See Also

find(),findWord(), replace(), contains()