initcap {SparkR} | R Documentation |
Returns a new string column by converting the first letter of each word to uppercase. Words are delimited by whitespace.
initcap(x) ## S4 method for signature 'Column' initcap(x)
x |
Column to compute on. |
For example, "hello world" will become "Hello World".
initcap since 1.5.0
Other string_funcs: ascii
,
base64
, concat_ws
,
concat
, decode
,
encode
, format_number
,
format_string
, instr
,
length
, levenshtein
,
locate
, lower
,
lpad
, ltrim
,
regexp_extract
,
regexp_replace
, reverse
,
rpad
, rtrim
,
soundex
, substring_index
,
translate
, trim
,
unbase64
, upper
## Not run: initcap(df$c)