MBAtLine2 Function | |
Return the line number of the first occurrence of a substring within a multiple line string — both the substring and the string can contain double-byte characters.
Namespace:
XSharp.VO
Assembly:
XSharp.VO (in XSharp.VO.dll) Version: 2.21
Syntax FUNCTION MBAtLine2(
cMBSearch AS STRING,
cMBTarget AS STRING
) AS DWORD
public static uint MBAtLine2(
string cMBSearch,
string cMBTarget
)
Request Example
View SourceParameters
- cMBSearch
- Type: String
The substring for which to search. - cMBTarget
- Type: String
The string in which to search.
Return Value
Type:
DWord
The position of the first occurrence of
cMBSearch within
cMBTarget.
If
cMBSearch is not found, MBAtLine2() returns zero.
Remarks
This function is like MBAtLine() except that it returns a WORD.
Remarks Tip |
---|
This function is the same as AtLine2() since .Net has unicode strings |
Examples See Also