MLPos2 Function | |
Determine the position of a line in a string.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION MLPos2(
cString AS STRING,
dwLine AS DWORD
) AS DWORD
public static uint MLPos2(
string cString,
uint dwLine
)
Request Example
View SourceParameters
- cString
- Type: String
A string. - dwLine
- Type: DWord
The line number.
Return Value
Type:
DWord
The character position of
dwLine in
cString.
If
dwLine is greater than the number of lines in
cString, MLPos2() returns the length of
cString.
Remarks
MLPos2() is similar to MLPos() except that MLPos2() has only two arguments and those arguments are strongly typed. See MLPos() for more information.
Examples See Also