FormatTruncTextSet: Formats a vector of strings to a single text block. If more...

View source: R/Util.r

FormatTruncTextSetR Documentation

Formats a vector of strings to a single text block. If more than "show_total" lines, the text block is trucated with text identifying that there is more not shown.

Description

Formats a vector of strings to a single text block. If more than "show_total" lines, the text block is trucated with text identifying that there is more not shown.

Usage

FormatTruncTextSet(text_lines, show_total = 5, sep = "\n")

Arguments

text_lines

A vector of text lines to format

show_total

How many lines of text_lines to show in the output

sep

Character used to seperate the lines

Value

A single text block.


PSC-CoTC/AnnualReport documentation built on March 26, 2022, 9:33 a.m.