Randy <na*****@hotmail.com> wrote:
I want to change the color of a string mid way into the string.
Example: Say I have a string "This is a test"
What I want to do is have "test" a different color from the rest of the
string. Is there any way to do this?
That really depends on how you're displaying the string. A string is
just a sequence of characters - it doesn't have a colour or anything
like that. However, if you're displaying the text in a RichTextBox or
something like that, you should be able to change the colour of part of
the string.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too