capitalize: Capitalize a string

capitalizeR Documentation

Capitalize a string

Description

Capitalize a string

Usage

capitalize(string, locale = "en")

Arguments

string

Input vector. Either a character vector, or something coercible to one.

locale

Locale to use for comparisons. See stringi::stri_locale_list() for all possible options. Defaults to "en" (English) to ensure that default behaviour is consistent across platforms.

Examples

capitalize("aBcDeF")

hiplot/hiplotlib documentation built on Jan. 31, 2024, 10:11 a.m.