text_formatting: Parse LTO text files

text_formattingR Documentation

Parse LTO text files

Description

Internal functions for parsing LTO raw text files.

remove_wordwrap() removes single newline characters (i.e. "\n") from string, but leaves double newlines (i.e. "\n\n").

Usage

remove_wordwrap(text)

Arguments

text

A character string.

Examples

## Not run: 
# Remove word wrap from text blocks:
text <- "Themes related to people living on well beyond what
is considered to be a

normal human lifespan."
remove_wordwrap(text)

## End(Not run) 

stoRy documentation built on July 9, 2023, 7:46 p.m.