What's the most straight forward way of overloading '+' for characters?
I have defined '%+%' <- function(...) paste(...,sep="")
:
str <- "aa"%+%"bb"%+%"cc" #str="aabbcc"
But I don't like the syntax. I think str <- "aa"+"bb"+"cc"
would be nicer.
(I am building long SQL queries to use with RODBC, the usual paste
is not very handy in such situations. Any suggestions?)