Suppose you have a string and a vector of the same length:
require(stringi)
string <- "ABCDEFGHIJKLMN"
vector <- 1:stri_length(string)
What would be a quick way to output this?
# A1B2C3D4E5F6G7H8I9J10K11L12M13N14
Or output a vector that looks like this (if simpler):
vector2
# "A" "1" "B" "2" "C" "3" "D" "4" ........