Top
Top
LibraryEASYProcess Reference Manual 5ProcessesServicesFileSystemWorkshopReadAllLines

ReadAllLines Overview

ReadAllLines service is used to read all lines in the file. The service finds the line break mark in the file. For each line, it returns one ReadAllLines container with the data in that line. This is useful if you want to process the file by each line.


ReadAllLines Use Examples
Workshop:FileSystemWorkshop
Service:ReadAllLines
Inputs
FileNameThe full path of the file to read. You can also give a network path or a mapped folder path.

Outputs
DataThe data in the line.

ReadAllLines Use Example

Basic ReadAllLines Use

This example shows how we usually use this service. If the file exists, we call ReadLine service and a ForEach loop to process each line that returns from ReadLine.

ReadLine service returns a list of ReadAllLines container, which contains the data for each line.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).