StrElemsPasted(string, indices)
string
StrElemsPasted("abcdef", c(2, 5:6))
Run the code above in your browser using DataCamp Workspace