Click or drag to resize

At_C Function

X#
Returns the beginning numeric position of the first occurrence of a character expression or memo field within another character expression or memo field, counting from the leftmost character.

Namespace:  XSharp.VFP
Assembly:  XSharp.VFP (in XSharp.VFP.dll) Version: 2.19
Syntax
 FUNCTION At_C(
	cSearchExpression AS STRING,
	cExpressionSearched AS STRING,
	 dwOccurrence AS DWORD
) AS DWORD
Request Example View Source

Parameters

cSearchExpression
Type: String
Specifies the character expression that At( ) 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: DWord
Numeric
Remarks
This is an alias for the At() function. X# works with unicode and the difference between single byte and multi byte characters does not exist in Unicode
See Also