AtC Function | |
Returns the beginning numeric position of the first occurrence of a character expression or memo field within another character expression or memo field, without regard for the case of these two expressions.
Namespace:
XSharp.VFP
Assembly:
XSharp.VFP (in XSharp.VFP.dll) Version: 2.21
Syntax FUNCTION AtC(
cSearchExpression AS STRING,
cExpressionSearched AS STRING,
dwOccurrence AS DWORD
) AS DWORD
public static uint AtC(
string cSearchExpression,
string cExpressionSearched,
[DefaultParameterValueAttribute(1, 0)] uint dwOccurrence
)
Request Example
View SourceParameters
- cSearchExpression
- Type: String
Specifies the character expression that AtC( ) searches for in cExpressionSearched. - cExpressionSearched
- Type: String
Specifies the character expression cSearchExpression searches for.
Both cSearchExpression and cExpressionSearched can be memo fields of any size.
- dwOccurrence
- Type: DWord
Return Value
Type:
DWordNumeric
See Also