RATLine2 Function | |
Return the line number of the last occurrence of a substring within a multiline string.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION RATLine2(
cSearch AS STRING,
cTarget AS STRING
) AS DWORD
public static uint RATLine2(
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:
DWord
The position of the last occurrence of
cSearch within
cTarget.
If
cSearch is not found, RAtLine2() returns 0.
Remarks
RAtLine2() is the same as RAtLine() except that RAtLine() returns WORD.
Examples See Also