string_pad: Pad strings with empty spaces to obtain same column width in...

View source: R/hjelpefunksjoner.R

string_padR Documentation

Pad strings with empty spaces to obtain same column width in tables

Description

Pad strings with empty spaces to obtain same column width in tables

Usage

string_pad(string_vector)

Arguments

string_vector

Vector of strings to be padded, using length of the longest string as length

Value

Character string, all strings are of same length

Examples

string_pad(string_vector = c("Ja", "Nei", "Kanskje"))

Rapporteket/ablanor documentation built on Feb. 27, 2025, 8:26 p.m.