decode {SparkR} | R Documentation |
Computes the first argument into a string from a binary using the provided character set (one of 'US-ASCII', 'ISO-8859-1', 'UTF-8', 'UTF-16BE', 'UTF-16LE', 'UTF-16').
decode(x, charset) ## S4 method for signature 'Column,character' decode(x, charset)
x |
Column to compute on. |
charset |
Character set to use |
decode since 1.6.0
Other string_funcs: ascii
,
base64
, concat_ws
,
concat
, 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: decode(df$c, "UTF-8")