Skip to contents

Punctuate

Usage

ps_punctuate(x, qualifier = "or")

Arguments

x

A vector to punctuate

qualifier

A string to separate the last element.

Value

A string.

Examples

ps_punctuate(1:3)
#> [1] "1, 2 or 3"