powered by
Formats the arguments in printf-style and returns the result as a string column.
format_string(format, x, ...)# S4 method for character,Column format_string(format, x, ...)
# S4 method for character,Column format_string(format, x, ...)
a character object of format strings.
a Column.
additional Column(s).
Other string_funcs: ascii, base64, concat_ws, concat, decode, encode, format_number, 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_ws
concat
decode
encode
format_number
initcap
instr
length
levenshtein
locate
lower
lpad
ltrim
regexp_extract
regexp_replace
reverse
rpad
rtrim
soundex
substring_index
translate
trim
unbase64
upper
# NOT RUN { format_string('%d %s', df$a, df$b) # }
Run the code above in your browser using DataLab