Click or drag to resize

Utils_AspEncodeQuotes Method

Replaces single and double quotes respectively with ' and ". WARNING THIS IS NOT A PROPER HTML ENCODING THIS METHOD SHOULD NOT NEVER BE USED FOR HTML Prefer HttpUtility.HtmlAttributeEncode

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static string EncodeQuotes(
	string text
)

Parameters

text
Type: SystemString

Return Value

Type: String
See Also