Programming Reference Manual
 
Syntax
 
Line$(text$,first[,last])
 
Description
Returns a String containing a single line or a group of lines between first and last.
 
Lines are delimited by carriage return, line feed, or carriage-return/line-feed pairs.
 
Parameter
Description
text$
String containing the text from which the lines will be extracted.
first
Integer representing the index of the first line to return. If last is omitted, then this line will be returned. If first is greater than the number of lines in text$, then a zero-length string is returned.
last
Integer representing the index of the last line to return.
See Also
Example
 
Sub Main
    s$ = “c”
    i# = DiskFree(s$)
    MsgBox “Free disk space on drive ‘” & _
                                 s$ & “’ is: “ & i#
End Sub