RAtC Function | |
Returns the numeric position of the last occurrence of a character expression or memo field within another character expression or memo field.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax FUNCTION RAtC(
cSearchExpression AS STRING,
cExpressionSearched AS STRING,
dwOccurrence AS DWORD
) AS DWORD
public static uint RAtC(
string cSearchExpression,
string cExpressionSearched,
[DefaultParameterValueAttribute(1, 0)] uint dwOccurrence
)
Request Example
View SourceParameters
- cSearchExpression
- Type: String
Specifies the character expression that RAtC() looks for in cExpressionSearched.
- cExpressionSearched
- Type: String
Specifies the character expression that RAtC() searches.
The character expressions cSearchExpression and cExpressionSearched can be memo fields of any size.
- dwOccurrence
- Type: DWord
Return Value
Type:
DWord
Numeric
Remarks
The difference between RAtC() and RAt() can be ignored in X# because all characters are unicode,
so there is no distinction between single byte and double-byte characters.
See Also Reference
RAtC(String, String, DWord)