title: How to display return value in web in a label or web browser
body: <p>How to display return value in web in a label or web browser?
  The code:</p>
  
  <pre><code>public static string FormatTelephoneNumber(string value)
  {
      value = new System.Text.RegularExpressions.Regex(@"\D").Replace(value, string.Empty);
      value = value.TrimStart('1');
  
      if ((!string.IsNullOrEmpty(value)) &amp;&amp; (value.Length &gt;= 12))
          return Convert.ToInt64(value).ToString("{0:+234 ### ### ####}");
      if (value.Length == 10)
          return Convert.ToInt64(value).ToString("{0:+1 ### ### ####}");
      if (value.Length != 10)
          return Convert.ToInt64(value).ToString("0:+44 ###-###-#### " + new String('#', (value.Length - 10)));
      if (value.Length == 10)
          return Convert.ToInt64(value).ToString("{0:+233 ### ### ###}");
  
      return value;
  }
  </code></pre>