string.RemoveHTML()

Here are the examples of the csharp api string.RemoveHTML() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : AnarchyExtensions.cs
with GNU General Public License v3.0
from aelariane

public static string LimitToLengthStripped(this string value, int length) =>
            value.RemoveHex().RemoveHTML().Length <= length ? value : (value.Substring(0, length) + "...");