nwordsfun: Determine the number of words in a given string

Description Usage Arguments Value Examples

View source: R/strings.R

Description

Determine the number of words in a given string

Usage

1

Arguments

str

a character

Value

A numeric indicating how many words are in the input.

Examples

1
nwordsfun("hello world") # 2

mattgarber4/myUtils documentation built on Dec. 13, 2020, 12:54 p.m.