Is there a way to apply bold formatting to part of a string assigned to a variable?
I attempted the following:
boldTxt = 'bold'
message = 'this text should be ' + this.boldTxt.toUpperCase().bold() ;
However, the HTML output is:
this should be <b>BOLD</b>