Skip to contents

String of n Backspaces

Usage

backspace(n)

Arguments

n

number of backspace characters

Value

vector of character of length one

Examples

update <- function(x) cat(backspace(3), x)
x <- "value: 123"
cat(x)
#> value: 123
cat(paste0(x, backspace(3), "987"))
#> value: 123987