str_length: Compute the length of a string

View source: R/str_length.R

str_lengthR Documentation

Compute the length of a string

Description

Dependency-free drop-in alternative for stringr::str_length().

Usage

str_length(string)

Arguments

string

Input vector. Either a character vector, or something coercible to one.

Value

A numeric vector the same length as string.

Source

Adapted from the stringr package.


stringstatic documentation built on July 26, 2023, 5:32 p.m.