fup: Transform first character of a string to uppercase.

Description Usage Arguments Value Examples

View source: R/helpers.R

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

1
fup(word)

Arguments

word,

string. Any string.

Value

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

Examples

1
   word_up = fup("word");

neuroconductor/fsbrain documentation built on Sept. 16, 2020, 2:30 p.m.