RAt 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.19
Syntax FUNCTION RAt(
cSearchExpression AS STRING,
cExpressionSearched AS STRING,
dwOccurrence AS DWORD
) AS DWORD
public static uint RAt(
string cSearchExpression,
string cExpressionSearched,
[DefaultParameterValueAttribute(1, 0)] uint dwOccurrence
)
Request Example
View SourceParameters
- cSearchExpression
- Type: String
Specifies the character expression that RAt() looks for in cExpressionSearched.
- cExpressionSearched
- Type: String
Specifies the character expression that RAt() 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