Functions

RTFTOPLAINTEXT

Returns plain text from a rich text string.

Syntax

string RTFTOPLAINTEXT(string richtext)

Example

To change the string "This is some bold text" into plain text:

RTFTOPLAINTEXT("{\\rtf1\\ansi{\\fonttbl\f0\fswiss Helvetica;}\\f0\\pard This is some {\\b bold} text.\\par}")

Will return "This is some bold text".