Return the position of the first occurrence of a substring within a string, without regard for case.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.7
Syntax FUNCTION AtC2(
cSearch AS STRING,
cTarget AS STRING
) AS DWORD
public static uint AtC2(
string cSearch,
string cTarget
)
Request Example
View SourceParameters
- cSearch
- Type: String
The substring for which to search. - cTarget
- Type: String
The string in which to search.
Return Value
Type:
UInt32
The position of the first occurrence of <cSearch> within <cTarget>.
If <cSearch> is not found, AtC2() returns 0.
Remarks
AtC2() is like AtC() except that it returns a WORD. See AtC() for more information.
Examples
See Also