| 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)
For example, "hello world" will become "Hello World".
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)