I have a variable embeeded in a string, that I need to replace. Tried everything.
I've tried:
`tmp <- tmp %>% mutate(q_text = str_replace(q_text, "$$R01_46_07", "NewText"))
tmp$q_text<- str_replace(tmp$q_text, "$$R01_46_07", "NewText")
I get no error - but also no replacement. Doin' sumthin' dumb. I think the "$$" are preventing this from working. Any help? Thank you!