concat_ws {SparkR}R Documentation

concat_ws

Description

Concatenates multiple input string columns together into a single string column, using the given separator.

Usage

concat_ws(sep, x, ...)

## S4 method for signature 'character,Column'
concat_ws(sep, x, ...)

See Also

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

Examples

## Not run: concat_ws('-', df$s, df$d)

[Package SparkR version 2.0.0 Index]