trim {SparkR} | R Documentation |
Trim the spaces from both ends for the specified string column.
trim(x) ## S4 method for signature 'Column' trim(x)
Other string_funcs: ascii
,
base64
, concat_ws
,
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
, unbase64
,
upper
## Not run: trim(df$c)