FreeTextBoxDescription.HtmlStrippedText.SubString(200);
string str = FreeTextBox1.HtmlStrippedText.Substring(0, 200);
Aggregate
All
Any
FreeTextBoxDescription
FreeTextBoxDescription.ToString()
public static string RemoveHtmlTags(string input, int maximumLength) { // Remove the HTML tags: string text = Regex.Replace(input, "<[^<>]*>", string.Empty); // Limit the length: if (text.Length > maximumLength) { text = text.Substring(0, maximumLength); } return text; }
text.Substring(0, maximumLength);
text = text.Substring(0, maximumLength);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)