Learn R Programming

DIZtools (version 1.0.3)

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

Description

Converts the first letter of the input string to uppercase.

Usage

firstup(x)

Value

Returns the input string but with a capital first letter.

Arguments

x

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

Examples

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

Run the code above in your browser using DataLab