Skip to main content

builtin_nchar

Function builtin_nchar 

Source
fn builtin_nchar(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Count the number of characters in each element of a character vector.

@param x character vector @param type one of “bytes”, “chars”, “width”, or “graphemes” (default “chars”) @return integer vector of string lengths