CountWords()

Syntax:

CountWords( Name )

Return:

The number of words in the specified Text object or variable.

Parameters:

Name – set the name of object in which you want to count the number of words. Name can either be the name of a Text object or of a variable name. The name must NOT be surrounded by quote marks. This parameter is required.

Remarks:

This function will return the number of words in the specified Text object or named variable.

image\Script_Button.jpgExamples