Returns plain text from a rich text string.
string RTFTOPLAINTEXT(string richtext)
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".