|
StrLineCount()
Counts the number of lines in a block of
text.
Syntax
StrLineCount(<cStr>, [<nLineLen>])
--> nCount
Arguments
<cStr> --> The block of text to extract
the line from.
<nLineLen1> --> The length of the line.
If not specified the default line length is assumed to be 79
characters. The valid range is between 4 and 254 characters.
Returns
Returns the line count.
Description
This function returns the number of lines in a
block of text based on the assumed or specified line length. It can
be used in conjunction with the
StrLine()
function to extract lines of text from note pads or text files.
Example
nCount :=
StrLineCount(cNotepad)
____________________________
Related Topics
Business
Function List
StrLine()
StrWrap()
|