StrElemsPasted

0th

Percentile

Extract bits of a string and paste them together

Extract characters - specified by their indices - from a string and paste them together

Usage
StrElemsPasted(string, indices)
Arguments
string

A string.

indices

A numeric vector of positive integers detailing the indices of the characters of string that we wish to paste together.

Value

A string.

Aliases
  • StrElemsPasted
Examples
StrElemsPasted("abcdef", c(2, 5:6))
Documentation reproduced from package filesstrings, version 0.4.0, License: GPL-3

Community examples

Looks like there are no examples yet.