CleanBRTags
using System; public namespace Extensions { public static class ExtensionMethods { public static string CleanBRTags(this string theString) { return theString.Replace(@"<br \>", ""); } } }Example:
.
Description
Remove HTML <br \> tags from the string
Details
- Author: unknown
- Submitted on: 1/24/2008 7:12:36 PM
- Language: C#
- Type: System.String
- Views: 2217
Double click on the code to select all.