getUnformattedText (NotesRichTextItem - JavaScript)

Returns the contents of a rich text item as plain text.

Defined in

NotesRichTextItem

Syntax

getUnformattedText() : string
Return value Description
string The contents of the rich text item, as plain text. Tabs and carriage returns are left intact.

Usage

This method omits non-text data, such as bit maps and file attachments.

The text is not wrapped and tabs cannot be stripped as in getFormattedText.