On 11-Oct-11 09:23, arunkumar wrote:
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="")
query = paste("DROP TABLE IF EXISTS \"",tab,"\"", sep="")
or
query = paste('DROP
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-quot
2 matches
Mail list logo