n_char: The length of a string.

Description Usage Arguments Value Examples

View source: R/data_process_tools.R

Description

Returns the number of "code points", in a string.

Usage

1
n_char(string)

Arguments

string

A string.

Value

A numeric vector giving number of characters (code points) in each element of the character vector. Missing string have missing length.

Examples

1
2

creditmodel documentation built on Jan. 7, 2022, 5:06 p.m.