Perl: the Markov chain saw | |
PerlMonks |
Re^3: Extract Paragraph From Textby sundialsvc4 (Abbot) |
on Sep 09, 2015 at 22:11 UTC ( [id://1141469]=note: print w/replies, xml ) | Need Help?? |
What I would expect is that text such as this might not contain any “end-of-line” character sequences at all. Instead, the rendering engine would pour the text into the graphic container, line-by-line according to the size of the container and the selected font/font-size ... both of which presumably could change. The only trustworthy “end-of-something” marker would be “end of paragraph,” but what might that be? Who knows. In this situation, I would suggest two specific things:
Perl is an extremely powerful data-extraction tool that can most certainly do whatever-it-is that you determine needs to be done. So, please follow-up in this thread and tell us what you’ve found. We’ll be happy to then help you further.
In Section
Seekers of Perl Wisdom
|
|