Click or drag to resize

MLCount1 Function

X#
Count the number of lines in a string.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 FUNCTION MLCount1(
	cString AS STRING
) AS DWORD
Request Example View Source

Parameters

cString
Type: String
The string to count.

Return Value

Type: DWord
The number of lines in cString.
Remarks
MLCount1() is similar to MLCount() except that MLCount1() has only one argument and that argument is strongly typed. See MLCount() for more information.
Examples