Set the first letter of a string vector to captial.

firstup(x)

Arguments

x

a string vector.

Details

Nothing

Value

Return a string vector with first letter capital.

Author

Wei Liu

Note

nothing

See also

None

Examples

  x <- c("good", "Morning")
  firstup(x)
#> [1] "Good"    "Morning"