Back to FabImage Library website
You are here: Start » Function Reference » Basic » String » LoadTextLines
| Header: | STD.h |
|---|---|
| Namespace: | fil |
| Module: | FoundationLite |
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. |


