powered by
This function allows to add 'addChr' to all entries, without the last entry
.addLetterWoLast(x, addChr)
This function returns a modified character vector
(character) main input
(character)
paste; used in cutAtMultSites
paste
cutAtMultSites
.addLetterWoLast(c("abc","efgh"),"Z")
Run the code above in your browser using DataLab