HTMLEncode(HTMLText: String): String
Given a string containing HTML text, returns a string containing escaped characters for non-valid HTML elements.
HTMLEncode function has these named arguments:
Parameter |
Description |
HTMLText |
Required. The string of HTML Text to encode. |
Sample code:
Text = "This is a <Test String>" HTMLEncoded = HTMLEncode(Text) Print HTMLEncoded
Returns: This is a <Test String>