fsbrain (version 0.0.2)

fup: Transform first character of a string to uppercase.

Description

Transform first character of a string to uppercase. This is useful when labeling plots. Important: this function does not know about different encodings, languages or anything, it just calls toupper() for the first character.

Usage

fup(word)

Arguments

word,

string. Any string.

Value

string, the input string with the first character transformed to uppercase.

Examples

Run this code
# NOT RUN {
   word_up = fup("word");

# }

Run the code above in your browser using DataCamp Workspace