How to Italicize text in a switch case raw text value
Can anyone tell me how to italicize partial text in a switch/case statement of raw text (in the example, the text in uppercase)?
switch (this.rawValue){
case "0":
MyText.rawValue = "Text example one"
break;
case "1":
MyText.rawValue = "Text example two, THIS TEXT TO ITALICS."
break;
}