str_pad {stringr} R Documentation

Pad A String.

Description

Usage

str_pad(string, width,
    side = left,
    pad = " ");

Arguments

string

A character vector. [as string]

width

Minimum width of padded strings. [as integer]

side

Side on which padding character is added (left, right or both). [as str_padSides]

pad

Single padding character (default is a space). [as string]

Details

Authors

SMRUCC genomics Institute

Value

this function returns data object of type string.

clr value class

Examples


[Package stringr version 2.33.856.6961 Index]