truncate: Truncate text with an ellipsis

View source: R/primitives.R

truncateR Documentation

Truncate text with an ellipsis

Description

Truncate text with an ellipsis

Usage

truncate(x, n, ellipsis = "...")

Arguments

x

An atomic vector.

n

Integer count.

ellipsis

String appended to truncated text.

Value

A character vector.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.