Documentation > CMS Template API Library > Util > StripHtml(String,Boolean)
StripHtml
Removes html tags from the given text.
public System.String StripHtml(String,Boolean)
Returns
A string without html tags.
Parameters
Name | Description | Type |
---|---|---|
text | The text from which to strip the html tags. | System.String |
decodeHtml | Optional: Defaults to true. If you do not want to decode escaped entities set decodeHtml to false. | System.Boolean |