R/LEN.R

Defines functions LEN

Documented in LEN

# LEN Function from Excel
#' Basic LEN function from excel
#'
#' It acts similiarly to Excel's LEN function. This function gives you the length of a string.
#'
#' @param text amount of characters in the word.
#' @import base
#' @export
#' @examples
#' LEN("This is great!")
#' @return in this example we see how long the sentence is. Function will always return numeric class.

LEN <-
function(text){
        nchar(text)
}

Try the ExcelFunctionsR package in your browser

Any scripts or data that you put into this service are public.

ExcelFunctionsR documentation built on July 1, 2020, 8:35 p.m.