StrLine()
Returns a line of text from a block of text.
Syntax
StrLine(<cStr>, <nLine>, [<nLineLen>]) --> cLineOfText
Arguments
<cStr> --> The block of text to extract the line from.
<nLine> --> The number of the line to extract.
<nLineLen1> --> The length of the line to return. If not specified the default line length is 79. The valid range is between 4 and 254 characters.
Returns
Returns a string of text.
Description
This function extracts a line of text from a block of text. If the line has fewer characters than the indicated length, the return value is padded with blanks up to the specified line length. If the line number is greater than the total number of lines in <cStr>, an empty string is returned. ("")
Example
____________________________
Related Topics: