convertHTMLEntitiesInVariable
void session.convertHTMLEntitiesInVariable ( String variable )
Description
Decode HTML Entities on a session variable.
Parameters
- variable Session variable whose HTML Entities will be converted to characters.
Return Values
Returns void.
Change Log
Version | Description |
---|---|
5.0 | Added for all editions. |
Examples
Decode HTML Entities In Variable
// Set variable
session.setv( "LOCATION", "Angela's Room" );
// Convert HTML entities
session.convertHTMLEntitiesInVariable( "LOCATION" );
// Write to Log
session.log( session.getv( "LOCATION" ) ); //logs Angela's Room
session.setv( "LOCATION", "Angela's Room" );
// Convert HTML entities
session.convertHTMLEntitiesInVariable( "LOCATION" );
// Write to Log
session.log( session.getv( "LOCATION" ) ); //logs Angela's Room
See Also
- convertHTMLEntities() [sutil] - Converts HTML entities in a String
tylers on 07/30/2010 at 4:10 pm
- Printer-friendly version
- Login or register to post comments