Thank you for the response. I am aware of this.. The issue is that I am reading a file which has around 1.5 million rows and 3000 columns... so while reading the file line by line,, i need to append a character to each column.
So.. step 1. read a line from the file
step 2. split that line into a vector
step 3. append a character to each element of the array
step 4. join the elements of this array
step 5. write to a new file
step 4 is where I am looking for a function which can be applied to every element of the string without spanning the whole array using map or any other loops.
Thank you.
P.