text_formatting {stoRy}R 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) 

[Package stoRy version 0.2.2 Index]