str_elem: Extract a single character from a string, using its index.

str_elemR Documentation

Extract a single character from a string, using its index.

Description

See strex::str_elem().

Usage

str_elem(string, index)

elem(string, index)

Arguments

string

A character vector.

index

An integer. Negative indexing is allowed as in stringr::str_sub().


filesstrings documentation built on Feb. 16, 2023, 7:25 p.m.