Description Usage Arguments See Also Examples
Convert first character of a string to uppercase
1 2 3 | str_ucfirst(string)
is_ucfirst(string)
|
string |
character vector to be converted. |
1 2 3 4 5 6 7 8 9 10 11 12 | str_ucfirst( "one flew over the cuckoo's nest" )
str_ucfirst( "catch-22" )
str_ucfirst( "Portrait of the Artist as a Young Man" )
# is_ucfirst
is_ucfirst( 'ABC123' ) # TRUE
is_ucfirst( 'abc123' ) # FALSE
is_ucfirst( 'aBC' ) # FALSE
is_ucfirst( 'Abc' ) # TRUE
is_ucfirst( 'Abc dEF' ) # FALSE
is_ucfirst( '123' ) # TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.