I'm hoping someone can help me with a, hopefully, pretty simple newbie question.
I have the following string that I want to be able to style in two different colours:
local details = fe.add_text("[Title] - Plays: [PlayedCount]", flx*0.235, fly*0.02, flw*0.300, flh*0.500 );
For example, I want the title to be white but the play count to be blue. But I have to have the two grouped together so that the play count always follows on directly from the title - I don't them to be positioned independently.
Also, how can I make this string uppercase? I have tried using toupper, as below, but it doesn't work.
details.toupper();
thanks in advance for any help.