C# Class ArmedCards.Library.Extensions.StringExtension

Class that contains all string extensions
Show file Open project: kwmcrell/ArmedCards

Public Methods

Method Description
HTMLDecode ( this str ) : string

Decode HTML in a string

HTMLDecodeAndRemove ( this str ) : string

Decode and Remove html

HTMLEncode ( this str ) : string

Encode HTML in a string

RemoveHtml ( this str ) : string

Remove HTML from the string

Method Details

HTMLDecode() public static method

Decode HTML in a string
public static HTMLDecode ( this str ) : string
str this String to decode
return string

HTMLDecodeAndRemove() public static method

Decode and Remove html
public static HTMLDecodeAndRemove ( this str ) : string
str this String to decode and remove html from
return string

HTMLEncode() public static method

Encode HTML in a string
public static HTMLEncode ( this str ) : string
str this String to encode
return string

RemoveHtml() public static method

Remove HTML from the string
public static RemoveHtml ( this str ) : string
str this The string in which to remove the HTML
return string