I have a string as such:
string myString = "String testing string replace"
I want to take that string and give the word string a style. So the final string would be:
myString = "<span class='myclass'>String</span> testing <span class='myclass'>string</span> replace"
How can I do that programmatically? So that both instances of the word string keep their case?