Wafae Wafae - 1 year ago 78
Vb.net Question

String builder underline text

How can I underline text in a string builder ?

strBody.Append("be a minimum of 8 characters")

I can't use HTML tags

be a minimum of <u>8 characters</u>

Answer Source

StringBuilder cannot underline text itself. You would want to underline the text when you attempt to display it, either in a WinForm or your webpage.