| concat_ws {SparkR} | R Documentation |
Concatenates multiple input string columns together into a single string column, using the given separator.
concat_ws(sep, x, ...) ## S4 method for signature 'character,Column' concat_ws(sep, x, ...)
sep |
separator to use. |
x |
column to concatenate. |
... |
other columns to concatenate. |
concat_ws since 1.5.0
Other string_funcs: ascii,
base64, concat,
decode, encode,
format_number, format_string,
initcap, instr,
length, levenshtein,
locate, lower,
lpad, ltrim,
regexp_extract,
regexp_replace, reverse,
rpad, rtrim,
soundex, substring_index,
translate, trim,
unbase64, upper
## Not run: concat_ws('-', df$s, df$d)