capitalize {mlr3misc}R Documentation

Capitalize the First Letter of Strings

Description

Takes a character vector and changes the first letter of each element to uppercase.

Usage

capitalize(str)

Arguments

str

(character()).

Value

Character vector, same length as str.

Examples

capitalize("foo bar")

[Package mlr3misc version 0.15.0 Index]