Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_InteractInteraction

Public Function HTMLEncode (
s As String,
Optional ExcludeForwardSlash As Boolean = True
) As String

Encode special characters for HTML compliance.

s as String

The string to encode.

Optional ExcludeForwardSlash as Boolean = True

Don't encode a forward slash (default).

Call Template:

Dim s As String
s = xf.Interact.HTMLEncode(s)
s = xf.Interact.HTMLEncode(s, ExcludeForwardSlash)

See Also:

Example 1:

HTMLEncode("Watch & <this>")   => Watch&nbsp;&amp;&nbsp;&lt;this&gt;
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd