Skip to contents

Percentage of fully capitalised words in a string

Usage

perc_cap_words(text)

Arguments

text

A character vector with length one containing the piece of text to analyze.

Value

A vector containing the number of fully capitalised words

Examples

text <- "This is REALLY Awesome!"
perc_cap_words(text)
#> [1] 25
25
#> [1] 25