nchar {stringr} R Documentation

Count the Number of Characters (or Bytes or Width)

Description


nchar takes a character vector as an argument and
returns a vector whose elements contain the sizes
of the corresponding elements of x.

Usage

nchar(strs);

Arguments

strs

character vector, or a vector to be coerced to a character vector. Giving a factor is an error.

Details

Authors

SMRUCC genomics Institute

Value

this function returns data object of type integer.

clr value class

Examples


[Package stringr version 2.33.856.6961 Index]