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
RemoveEmptyLinesFromStartAndEnd(List<string>)
Removes empty lines from both the start and end of the list.
public void RemoveEmptyLinesFromStartAndEnd(List<string> list)
Parameters
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)