webtext(
TEXT
)

The webtext( function converts a number or regular text into text encoded for display in a web browser.


Parameters

This function has one parameter:

text – text or number to be converted to HTML format.


Description

This function converts a number or regular text into text encoded for display in a web browser. As far as possible, any special characters are converted into HTML entities so that they will display correctly (for example accented characters like å, special characters like ©, and the < and > symbols.

webtext("abc å © < >") ☞ abc &aring; &copy; &lt; &gt;

This function is frequently used in web server code.


See Also


History

VersionStatusNotes
10.2No ChangeCarried over from Panorama 6.0