Table of Contents

Class RemoveEmptyLinesService

Namespace
SunamoCollections.Services
Assembly
SunamoCollections.dll

Service for removing empty lines from the beginning and end of a list of strings.

public class RemoveEmptyLinesService
Inheritance
RemoveEmptyLinesService
Inherited Members
Extension Methods

Methods

RemoveEmptyLinesFromBack(List<string>)

Removes empty lines from the end of the list.

public void RemoveEmptyLinesFromBack(List<string> list)

Parameters

list List<string>

The list to process.

RemoveEmptyLinesFromStartAndEnd(List<string>)

Removes empty lines from both the start and end of the list.

public void RemoveEmptyLinesFromStartAndEnd(List<string> list)

Parameters

list List<string>

The list to process.

RemoveEmptyLinesToFirstNonEmpty(List<string>)

Removes empty lines from the start of the list until the first non-empty line is found.

public void RemoveEmptyLinesToFirstNonEmpty(List<string> list)

Parameters

list List<string>

The list to process.