📅  最后修改于: 2022-03-11 14:51:59.900000             🧑  作者: Mango
#In R the escape symbol is a doube backslash \\
#For example, to substitute every oper square bracket we have in a string
#with, let's say, the string "newword"
gsub("\\[", "newword", string)