pystr_join: Join the elements of a character vector or list into a...

Description Usage Arguments Value References See Also Examples

View source: R/pystr_join.R

Description

Return a string which is the concatenation of the elements in the iterable iterable, where sep is the separator between elements.

Usage

1
pystr_join(iterable, sep = "")

Arguments

iterable

A character vector.

sep

A character string.

Value

A character vector or list.

References

https://docs.python.org/3/library/stdtypes.html#str.join

See Also

pystr_split

Examples

1
2
3
pystr_join(c("A", "B", "C"))
pystr_join(c(1, 2, 3), "+")
pystr_join(list(c(1, 2, 3), c(4, 5, 6)), ", ")

nicolewhite/pystr documentation built on May 23, 2019, 5:09 p.m.