LEN: Count Characters in String or Vector

Description Usage Arguments Value Author(s) See Also Examples

View source: R/LEN.R

Description

Given a string or vector, count the number of characters for each string.

Usage

1

Arguments

text

String or vector that you would like its characters counted.

Value

Returns the number of characters in string or vector.

Author(s)

Nick Bultman, njbultman74@gmail.com, February 2021

See Also

nchar

Examples

1
2
3
LEN("hi")
LEN(c("hey", "hi", "hey"))
LEN(c(1, "hi", "hey", 2))

njbultman/xlsxFunctions documentation built on March 19, 2021, 6:54 p.m.