RAt3 Function | |
Return the position of the last occurrence of a substring within a string.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION RAt3(
cSearch AS STRING,
cTarget AS STRING,
dwOffSet AS DWORD
) AS DWORD
public static uint RAt3(
string cSearch,
string cTarget,
uint dwOffSet
)
Request Example
View SourceParameters
- cSearch
- Type: String
The substring for which to search. - cTarget
- Type: String
The string in which to search. - dwOffSet
- Type: DWord
The position in the string at which to start searching.
A value of zero (0) specifies the first byte.
Return Value
Type:
DWord
The position of
cSearch within
cTarget.
If
cSearch is not found, RAt3() returns 0.
Remarks
RAt3() is the same as RAt(), except that you can specify an offset that tells where to start searching. See RAt() for more information.
Examples See Also