remove_empty_lines: Remove all lines that are only whitespace

View source: R/remove_empty_lines.R

remove_empty_linesR Documentation

Remove all lines that are only whitespace

Description

Remove all lines that are only whitespace

Usage

remove_empty_lines(lines, trim = FALSE)

Arguments

lines

character vector with text

trim

FALSE if indentation must be preserved, TRUE will remove all surrounding whitespace

Value

the lines with text

Author(s)

Richèl J.C. Bilderbeek


beautier documentation built on Nov. 2, 2023, 5:08 p.m.