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

str_paste_elems {filesstrings} | R 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.

[Package filesstrings version 3.1.0 Index]