Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

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
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. "Hello <b>world</b>!"
  2.        
  3. string text;
  4. bool IsBold;
  5. bool IsItalic;
  6. bool IsUnderlined;
  7. ...
  8.        
  9. string text;
  10. FontStyle FontStyle;