Hi,
Try:
DF <- data.frame(Column1= c("{AA}","{BB}"))
DF$Column1 <- with(DF,gsub("[{}]","",Column1))
 DF$Column1
#[1] "AA" "BB"
A.K.


Hi All, 

I have a scenario, Like I have my output tabel X to be like 

Table name : X 
Column name :  column 1 

output 
Column1 
{AA} 
{BB} 

I want to remove the braces and display my output as below 

Column1 
AA 
BB 

Can anyone help me in this...? 

Regards, 
Praveen 
Thanks and Regards, 
Praveen

______________________________________________
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