platform.extractTextFromRtf
The 'extractTextFromRtf' function parses a given RTF text, and returns plain text excluding RTF formatting data.
extractTextFromRtf函数提取RTF中的纯文本。
- Prototype: platform.extractTextFromRtf(sRtfText);
- Parameters:
- sRtfText: the source RTF text to be parsed;
RTF文件源
- sRtfText: the source RTF text to be parsed;
- Return Value: the plain text without RTF formatting is returned;
- Example:
var sTxt=platform.extractTextFromRtf(sRtfTxt);