FileContent Operator - Haufe-Lexware/haufe.no-frills-transformation GitHub Wiki
With the FileContent operator, you can read a specific amount of characters from a file; the content will be treated as a string, which may or may not be what you need. This operator may be used to read text from files, too.
| What | Type |
|---|---|
| Syntax | FileContent(fileName, length) |
fileName |
string |
length |
int |
| Return type | string |
The fileName parameter will be resolved using the Resolving File Names strategy; see also FileResolve Operator. The length parameter gives the (maximum) number of characters to read from the file. If you want to read entire files, pick a large enough number here.