Displaying 1 result from an estimated 1 matches for "tocamel".
Did you mean:
camel
2013 Apr 15
6
how to transform string to "Camel Case"?
...uot;something Else"
I know how to obtain all capitals or all lower case letters:
> tolower(z)
[1] "r project" "hello world" "something else"
> toupper(z)
[1] "R PROJECT" "HELLO WORLD" "SOMETHING ELSE"
I saw the tocamel() function in 'rapport', but it doesn't do what I
want to achieve as it actually proceeds to camelCase/CamelCase the
strings:
> tocamel(z)
[1] "RProject" "helloWorld" "somethingElse"
But how should I proceed to obtain Camel Case? Here's wha...