Back to FabImage Library websiteYou are here:
Start »
Function Reference »
String »
LoadTextLines
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
| Header: | STD.h |
| Namespace: | fil |
Loads text lines from a file.
Syntax
void fil::LoadTextLines
(
const ftl::File& inFile,
const ftl::String& inLineDelimiter,
bool inSkipEmptyLines,
ftl::Array<ftl::String>& outTextLines
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inFile |
const File& |
|
|
 |
inLineDelimiter |
const String& |
\"\\\\r\\\\n\" |
End of line character sequence, escaped |
 |
inSkipEmptyLines |
bool |
|
|
 |
outTextLines |
Array<String>& |
|
|
Errors
List of possible exceptions:
| Error type |
Description |
| DomainError |
Empty LineDelimiter on input in LoadTextLines. |