Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

how to parse a string with html tags in its substrings which are bold, italic, underlined

By: a guest on Feb 22nd, 2012  |  syntax: None  |  size: 0.13 KB  |  views: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. "Hello <b>world</b>!"
  3. string text;
  4. bool IsBold;
  5. bool IsItalic;
  6. bool IsUnderlined;
  7. ...
  9. string text;
  10. FontStyle FontStyle;
clone this paste RAW Paste Data