Learn R Programming

BAwiR (version 1.3.4)

capit_two_words: Capitalize two-word strings

Description

Ancillary function to capitalize the first letter of both words in a two-word string. This can be used for example to capitalize the teams names for the plots title.

Usage

capit_two_words(two_word_string)

Value

Vector with the two words capitalized.

Arguments

two_word_string

Two-word string.

Author

Guillermo Vinue

Examples

Run this code
capit_two_words("valencia basket")

Run the code above in your browser using DataLab