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 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.