JSEDLAK » Blog Archive » Sitecore Tip: Stripping HTML Tags

Sitecore Tip: Stripping HTML Tags

Here is a quick and incredibly useful tip for using the Sitecore API. Recently I was looking for an easy way to strip HTML tags from a string (in C# code) and Alex de Groot responded to the call. Turns out that the process is insanely painless.

?View Code CSHARP
1
Sitecore.StringUtil.RemoveTags(string) : string

Leave a Reply