Hi,

I would like to substitute a semicolon with two double quotation marks and
a comma inbetween.
It suppose to look like that:

I have:
FBpp0070086;FBpp0099643;FBpp0112915
I would like to have:
"FBpp0070086","FBpp0099643","FBpp0112915"

I tried with various numbers of backslashes, but noe have worked.
for example:
gsub(";", "\\\",\"", data$protein_ids)
gsub(";", "\\",\"", data$protein_ids)
gsub(";", "\",\"", data$protein_ids)
gsub(";", "\\',\\'", data$protein_ids)
gsub(";", '"',data$protein_ids)

What do I miss?

Thanks
Assa

	[[alternative HTML version deleted]]

