|
static string[] | Parse (StreamReader file, bool trim=true) |
| Loads a file into a string array containing each line as an element, excluding comments (marked by starting the line with '#'). More...
|
|
static string[] | ParseFile (string path, bool trim=true) |
|
◆ Parse()
static string [] Semi.SimpleListFileParser.Parse |
( |
StreamReader |
file, |
|
|
bool |
trim = true |
|
) |
| |
|
inlinestatic |
Loads a file into a string array containing each line as an element, excluding comments (marked by starting the line with '#').
- Returns
- The array of lines.
- Parameters
-
file | Text file to load. |
trim | If set to true , lines will be trimmed (whitespace removed from either ends). |
◆ ParseFile()
static string [] Semi.SimpleListFileParser.ParseFile |
( |
string |
path, |
|
|
bool |
trim = true |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file:
- Semi/src/Parsers/SimpleListFileParser.cs