How can I display selected part of an asp.net string with HTML Formatting.
Eg:
String str= "Yerevan Airport(<B>UB21</B>,AM-ER,Yerevan,)";
I need to display the text enclosed in <B>
and </B>
in bold and display it as text in RADComboBox
.
I have tried it with using StringBuilder , HttpUtility.Htmlencode, String.Format but couldn't find any proper solution.