AT( ) Function
Searches a character expression for the occurrence of another character expression.
Note |
|---|
|
The search performed by AT( ) is case-sensitive. To perform a search that is not case-sensitive, use ATC( ). For more information, see ATC( ) Function. |
AT(cSearchExpression, cExpressionSearched [, nOccurrence]) |
Parameters
- cSearchExpression
-
Specifies the character expression to search for in cExpressionSearched.
- cExpressionSearched
-
Specifies the character expression to search for cSearchExpression.
Both cSearchExpression and cExpressionSearched can be memo fields of any size.
- nOccurrence
-
Specifies which occurrence, first, second, third, and so on, of cSearchExpression to search for in cExpressionSearched. By default, AT( ) searches for the first occurrence of cSearchExpression (nOccurrence = 1).
Return Value
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Note
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08