Escapes the provided string for use as the value of an attribute in an HTML tag.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ForAttr(
string s
)
Public Shared Function ForAttr (
s As String
) As String
Parameters
- s
- Type: SystemString
The string to escape.
Return Value
Type:
StringThe string, escaped for use in an HTML attribute.
See Also