Returns the text without the formatting characteristics specific to the RTF format. This text can be found:
- in an edit control in RTF format.
- in a character string.
- in an RTF control of a WINDEV report.
The text without formatting can be used to perform a search for example.
Reminder: By default, when retrieving the content of an RTF control, the retrieved value contains several formatting tags.
For example: "\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;".
Syntax
<Result> = RTFToText(<RTF Text or Name of RTF Control>)
<Result>: Character string
Text found in the RTF control (without the RTF tags).
<RTF Text or Name of RTF Control>: Character string
- Name of RTF control.
- Character string in RTF.
Related Examples:
|
Unit examples (WINDEV): Switching from the RTF format to the HTML format
[ + ] Using RTFToHTML and RTFToText.
|