str_paste_elems: Extract bits of a string and paste them together.

str_paste_elemsR Documentation

Extract bits of a string and paste them together.

Description

See strex::str_paste_elems().

Usage

str_paste_elems(string, indices, sep = "")

paste_elems(string, indices, sep = "")

Arguments

string

A character vector.

indices

A vector of integerish values. Negative indexing is allowed as in stringr::str_sub().

sep

A string. The separator for pasting string elements together.


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