powered by
Concatenates multiple input string columns together into a single string column, using the given separator.
concat_ws(sep, x, ...)# S4 method for character,Column concat_ws(sep, x, ...)
# S4 method for character,Column concat_ws(sep, x, ...)
separator to use.
column to concatenate.
other columns to concatenate.
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
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) # }
Run the code above in your browser using DataLab