Skip to contents

Prefix text with figure spaces to balance star text

Usage

star_balance(x, star = "\\*", superscript = TRUE)

Arguments

x

character vector

star

star text

superscript

Place superscript text if TRUE

Value

character vector

Examples


star_balance(".05\\^\\*\\*\\^")
#> [1] "^  ^.05\\^\\*\\*\\^"