Text interface

Text objects are used as values for StoreObject, and the type of text object specifies how the text is formatted in the user interface.

Construction

Use O.text().

Interface

property typecode

Text typecode, as defined in Text types.

function toString()

Returns a string representation of the text.

function s()

Alias for toString().

function toHTML()

Returns a HTML encoded string representation of the text, formatted appropriately for the text and suitable for outputting directly in generated HTML.