firstup: Converts the first letter of the input string to uppercase.

View source: R/firstup.R

firstupR Documentation

Converts the first letter of the input string to uppercase.

Description

Converts the first letter of the input string to uppercase.

Usage

firstup(x)

Arguments

x

A character string. E.g. "hello world" will become "Hello world".

Value

Returns the input string but with a capital first letter.

Examples

{
firstup("first letter of this string will be upper case as return")
}

miracum/misc-diztools documentation built on April 14, 2025, 7:33 a.m.