fsbrain (version 0.5.5)

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)

Value

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

Arguments

word,

string. Any string.

Examples

Run this code
   word_up = fup("word");

Run the code above in your browser using DataLab