ATLINE( ) Function

Returns the line number of the first occurrence of a character expression or memo field within another character expression or memo field, counting from the first line.

ATLINE(cSearchExpression, cExpressionSearched)

Parameters

cSearchExpression

Specifies the character expression that Microsoft Visual FoxPro looks for in cExpressionSearched.

cExpressionSearched

Specifies the character expression that cSearchExpression searches for.

Both cSearchExpression and cExpressionSearched can be memo fields of any size.

Use MLINE( ) to return the line containing the matching character expression as a character string.

NoteTip

ATLINE() offers a convenient way to search memo fields.

Expand imageReturn Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic