SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.EncodeHTML()
Escapes HTML values in a string.
| Parameter | Type | Description |
|---|---|---|
|
value |
string |
The text that may have HTML characters that need to be escaped. |
| Type | Description |
|---|---|
|
string |
The HTML-encoded version of the string value. |
SBM ModScript version: 11.3.
Ext.WriteStream( Ext.EncodeHTML( "a < b" ));
None.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.