Array To Html Breaked String : HTML « Network « C# / C Sharp






Array To Html Breaked String

 
using System.Text;

namespace Sedge.Core.Utils
{
  public static class HtmlHelper
  {
    public static string ArrayToBreakedString(string[] lines)
    {
      StringBuilder sb = new StringBuilder();
      foreach(string line in lines)
      {
        sb.AppendFormat("{0}<br/>", line);
      }

      return sb.ToString();
    }
  }
}

   
  








Related examples in the same category

1.Get Links From HTML
2.Parses the value information from any INPUT tag in an HTML string where the name="" attribute matched the tagID parameter
3.Html Utilities
4.Convert HTML To Text
5.Converts a FontUnit to a size for the HTML FONT tag
6.Strip HTML
7.Remove tags from a html string
8.Sanitize any potentially dangerous tags from the provided raw HTML input using a whitelist based approach
9.Get Type As Html
10.HTML-encodes a string and returns the encoded string.
11.Strips all HTML tags from the specified string.
12.Removes the HTML whitespace.
13.Show Html Page in String with Process