NextWord( )

Microsoft Visual FoxPro Foxtools

NextWord( )

Returns the characters between a specified character index and the following word delimiter (or the end of the string).

Syntax

NextWord(cString, nPosition[, cDelimiter])

cString

Specifies the string to search.

nposition

Specifies the numeric position of the character in the string that will be the initial character returned by NextWord( ).

cdelimiter

Specifies the optional word delimiters; NextWord( ) returns the string of characters between nPostition and this character. If cDelimiter2 isn't used, the default delimiters are spaces, tabs, and carriage return characters (ASCII 13). The delimiter character isn't included in the returned string.

Return Type

Character