Syntax |
LineCount(text$) |
Description |
Returns an Integer representing the number of lines in text$. |
Comments |
Lines are delimited by carriage return, line feed, or both. |
Example |
This example reads your autoexec.bat file into a variable and then determines how many lines it is comprised of. Const crlf = Chr$(13) + Chr$(10) Sub Main() |
See Also |
Item$ (function); ItemCount (function); Line$ (function); Word$ (function); WordCount (function). |
L |