Learn R Programming

DIZutils (version 0.0.13)

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)

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

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

# }

Run the code above in your browser using DataLab