public static string[] FileGetLines( string path, string numberOfLine, bool removeLine, string regex, string numberOfMatch, bool removeEmptyFile )
Parameters
- path
Type: System.String
Path to the source file.
- numberOfLine
Type: System.String
The number of the line.
- removeLine
Type: System.Boolean
true if remove the used line; otherwise, false.
- regex
Type: System.String
Regular expression to parse the line.
- numberOfMatch
Type: System.String
Number of match after parsing.
- removeEmptyFile
Type: System.Boolean
true if need to remove empty source file after sampling; otherwise, false.
Return Value
Type: System.String
Strings after spliting and sampling.