Q:

Delete particular variable in character vector

Sorry for the dummy question.  
I have character vector
A
" " " " " " " " " " " " " " " " " " " " "*" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "." " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "*" "*" " " " " " " " " " "" " " " " " " " " " " " " " " " " " " " " " " " 

Row 31 has ".",  how can i delete it, so that it would be ""? 
I tried gsub, but it didn't work 
Thank you for any tips

A:

We can either use fixed=TRUE in sub or escape (\\) the .  as it is a metacharacter which if left itself means any character in the string. 
sub(".", "",  v1, fixed=TRUE)

Or
sub("\\.", "", v1) 

data
v1 <- c(".", " tse")

