Different Way to Extract a String a Rich Text File?
Greetings,
I am currently trying to find a way to get the contents of a Rich Text File as a string in Decisions. I tried the RTF to HTML step, but the output it gave me was weird and not what I was expecting. If there a different way to do this?
Comments
-
Hello!
You can get the text from an RTF document by first using a Convert Document step, setting the ConvertFromType to Word and ConvertToType to PDF in the properties, as shown below:
Then, add a Recognize Text from PDF step and pass-in the newly-converted PDF document from the Convert Document step's output.
Documentation for both steps can be found here:
https://documentation.decisions.com/step-library/docs/convert-document-steps
https://documentation.decisions.com/step-library/docs/recognize-text-from-pdf-step
-Gregory

