OCCURS( ) Function

Example   See Also

Returns the number of times a character expression occurs within another character expression.

Syntax

OCCURS(cSearchExpression, cExpressionSearched)

Returns

Numeric

Arguments

cSearchExpression

Specifies a character expression that OCCURS( ) searches for within cExpressionSearched.

cExpressionSearched

Specifies the character expression OCCURS( ) searches for cSearchExpression.

Remarks

OCCURS( ) returns 0 (zero) if cSearchExpression isn't found within cExpressionSearched.