ellipt: Ellipt string to the given length.

Description Usage Arguments Value

View source: R/util.R

Description

Ellipt string to the given length.

Usage

1
ellipt(s, n, left = FALSE, right = FALSE)

Arguments

s

String to ellipt.

n

Maximum number of characters in the output string. If the string is ellipted, this includes the number of characters in the ellipses themselves.

left

Indicates if the string should be ellipted at the start ('left') of the string.

right

Indicates if the string should be ellipted at the end ('right') of the string.

Value

Input string ellipted to the specified length.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.