concat_ws {SparkR}R Documentation

concat_ws

Description

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

Usage

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

concat_ws(sep, x, ...)

See Also

Other string_funcs: ascii, ascii; base64, base64; concat, concat; decode, decode; encode, encode; format_number, format_number; format_string, format_string; initcap, initcap; instr, instr; length; levenshtein, levenshtein; locate, locate; lower, lower; lpad, lpad; ltrim, ltrim; regexp_extract, regexp_extract; regexp_replace, regexp_replace; reverse, reverse; rpad, rpad; rtrim, rtrim; soundex, soundex; substring_index, substring_index; translate, translate; trim, trim; unbase64, unbase64; upper, upper

Examples

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

[Package SparkR version 1.6.0 Index]