Shortcut method to read the first n lines of a text file.
[Visual Basic]
Public Shared Function RawReadFirstLines( _
ByVal
file As
String, _
ByVal
lines As
Integer _
) As
String
Parameters
-
file
- The file name
-
lines
- The number of lines to read.
Return Value
The first n lines of the file.
See Also
CommonEngine Class | FileHelpers Namespace
Powered by: