powered by
Wrap string table
wrap_text_table(string, exdent, min_size = 9, table_width = 80 - exdent)
A character vector of a wrapped table where rows are separated by the newline character.
Input vector. Either a character vector, or something coercible to one.
A non-negative integer giving the indent for all subsequent lines.
minimal size where a table is constructed, otherwise elements are concatenated with ', '.
table character width.
str_wrap, get_square_grid.
str_wrap
get_square_grid
cat(wrap_text_table(LETTERS, exdent=0))
Run the code above in your browser using DataLab