Hi 

I want to add a double quote to a string

eg


Expected output = DROP TABLE  IF EXISTS "abc"

My code

tab=c("abc")
query = paste("DROP TABLE IF EXISTS ",tab,sep="")

Please help me to solve this problem


--
View this message in context: 
http://r.789695.n4.nabble.com/How-to-add-a-double-quote-to-a-string-tp3893061p3893061.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to