Learn R Programming

PRECAST (version 1.6.6)

firstup: Set the first letter of a string vector to captial

Description

Set the first letter of a string vector to captial.

Usage

firstup(x)

Value

Return a string vector with first letter capital.

Arguments

x

a string vector.

Author

Wei Liu

Details

Nothing

See Also

None

Examples

Run this code
  x <- c("good", "Morning")
  firstup(x)

Run the code above in your browser using DataLab