0

Lets say I have a string - is it possible to change the colour of a specific word instead of the whole string?

String = "Jim likes games and cars";

How would I go about changing the colour of the word "games" to red?

Right now setFontColor(Color.red);changes the colour of the entire string.

This is for a command line based application

system21
  • 361
  • 4
  • 16

0 Answers0