I am attempting to write a RichTextBox and I need to be able to write part of a sentence highlighted. or change the color of the text of a specific part of a string, and the remainder of the text in the sentence in regular type. Could someone help me figure out what the syntax would be in order to complete this task? For instance, if the control was called RichTextBox1 and the sentence was "The dog crossed the road", how would I get the word "dog" to be highlighted, or in a different font color, and the remainder of the sentence to be regular type?
Any help that could be provided on this topic would be greatly appreciated.