Learn R Programming

nlsic (version 1.2.0)

join: Join elements into a string

Description

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

Usage

join(sep, v, ...)

Value

A joined string

Arguments

sep

A string used as a separator

v

A string vector to be joined

...

other variables to be converted to strings and joined

Examples

Run this code
join(" ", c("Hello", "World"))

Run the code above in your browser using DataLab