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")
}

DIZtools documentation built on Sept. 18, 2023, 9:07 a.m.