join function

Join elements into a string

Join elements into a string

convert elements of vector v (and all following arguments) in strings and join them using sep as separator.

join(sep, v, ...)

Arguments

  • sep: A string used as a separator
  • v: A string vector to be joined
  • ...: other variables to be converted to strings and joined

Returns

A joined string

Examples

join(" ", c("Hello", "World"))
  • Maintainer: Serguei Sokol
  • License: GPL-2
  • Last published: 2023-06-26