Hello can you please tell me how to replace a string in another string at
exact position? 
For example:
The string:   "abc-abc-abc-bla-abc"

In the string I would like to replace substring "abc"
a) second occurrence of "abc" from the left of the string
b) first occurrence from the right of the string
c) all occurrences
d) replace first occurrence after 5th character

Thank you for your help in advance.




--
View this message in context: 
http://r.789695.n4.nabble.com/replace-a-substring-in-a-string-tp4716659.html
Sent from the datatable-help mailing list archive at Nabble.com.
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to