RATC( ) Function
| Visual FoxPro 9.0 SP2 |
| RATC( ) Function |
| See Also |
|
Returns the numeric position of the last occurrence of a character expression or memo field within another character expression or memo field.
RATC(cSearchExpression, cExpressionSearched [, nOccurrence]) |
Parameters
- cSearchExpression
-
Specifies the character expression that RATC( ) looks for in cExpressionSearched.
- cExpressionSearched
-
Specifies the character expression that RATC( ) searches. The character expressions cSearchExpression and cExpressionSearched can be memo fields of any size.
- nOccurrence
-
Specifies which occurrence, starting from the right and moving left, of cSearchExpression RATC( ) searches for in cExpressionSearched. By default, RATC( ) searches for the last occurrence of cSearchExpression (nOccurrence equals 1). If nOccurrence is 2, RATC( ) searches for the next to last occurrence, and so on.
Return Value
Remarks
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic

Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08