splitIntoLines: Split Text at End of Line Characters Into Lines

View source: R/splitIntoLines.R

splitIntoLinesR Documentation

Split Text at End of Line Characters Into Lines

Description

Split Text at End of Line Characters Into Lines

Usage

splitIntoLines(x)

Arguments

x

vector of character of length 1.

Value

vector of character as long as there are lines in x

Examples

splitIntoLines("a\nb\nc")
splitIntoLines("a\r\nb\r\nc")

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.