trunc_string: String Truncation

View source: R/strings_utils.R

trunc_stringR Documentation

String Truncation

Description

Truncates character strings

Usage

trunc_string(x, n = 22)

Arguments

x

a string

n

desired length

Details

x will be truncated according to 'n' parameter. If x is longer than n '...' are appended.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.