[datatable-help] replace a substring in a string

derek jan.kacaba at gmail.com
Thu Jan 21 14:37:23 CET 2016


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.


More information about the datatable-help mailing list