Skip to contents

Collapse Vector

Usage

sf_smush(x, sep = "")

Arguments

x

<character> vector

sep

<character> separator; default is ""

Value

collapsed <character> vector

Examples

sf_smush(LETTERS, "|")
#> [1] "A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z"