Extract Plain Text from RTF data

I know that text in a TextArea can be extracted as either Plain Text or “Styled” text

but if I have a string that is valid RTF data, can I easily get the plain text WITHOUT having a textarea control…

dim plaintext as string=getFromRTF(rtfdata) // something like this

I have an app where the user can enter Bold/Italic/Underline and colors, but in some places I just want the plain text without all the fancy
Note : the RTFdata is stored in a field in a database

Yeah, use the StyledText class. This should do the trick:

dim st as new StyledText
st.RTFData = sMyRTFData

dim sPlainText as String = st.Text

[quote=454736:@Tim Parnell]Yeah, use the StyledText class. This should do the trick:

[code]
dim st as new StyledText
st.RTFData = sMyRTFData

dim sPlainText as String = st.Text
[/code][/quote]
Perfect!

Except that TextArea cannot load much more than 15K RTF without taking an infinite time …

I use a third party tool but I know your requirements.

On PC there are loads of free format converters, as well as on the web.