Encode and HTML string. Safe to call in web and client-server.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string HtmlEncode(
string s
)
Public Shared Function HtmlEncode (
s As String
) As String
Parameters
- s
- Type: SystemString
The string to encode.
Return Value
Type:
String
The string encoded by the current session's HttpServerUtility for
web applications, unencoded (for now) in non-web applications.
See Also