Skip to main content

builtin_paste

Function builtin_paste 

Source
fn builtin_paste(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Concatenate strings with a separator.

Converts arguments to character, recycles to the longest length, and joins corresponding elements with sep. Optionally collapses the result into a single string using collapse.

@param … objects to paste together @param sep separator between arguments (default: “ “) @param collapse optional string to join result elements @return character vector (length 1 if collapse is set)