str_wrap_RTL: This is a wrapper for stringr::str_wrap and...

Description Usage Arguments

View source: R/str_wrap_RTL.R

Description

This is a wrapper for stringr::str_wrap and stringr::str_replace_all to wrap text and add an RTL unicode instruction (u202b) for every new line.

Usage

1
str_wrap_RTL(string, width = 80, indent = 0, exdent = 0)

Arguments

width

positive integer giving target line width in characters. A width less than or equal to 1 will put each word on its own line.

indent

non-negative integer giving indentation of first line in each paragraph

exdent

non-negative integer giving indentation of following lines in each paragraph


sarid-ins/saridr documentation built on Nov. 10, 2020, 9:07 p.m.