The following variable:
x <- "^howdy"
Passed into the paste function like thus:
paste(x, "there", sep=".")
Returns the string "^howdy.there" as expected. How can you eliminate the caret from howdy so the string returns only "howdy.there"?
You can do this using
gsub: