PDA

View Full Version : Please help me with RTF, Guru


Bigbrain
11-30-2007, 04:43 PM
Good afternoon! Function of work with RTF very was pleasant.

Prompt how to realise such idea.
At me in RTF questions for testing in such format are written:
The question name - an empty line - five lines with variants of answers. The right answer in the end of a line has an asterisk. Then again an empty line


Actually a question.
I have loaded RTF the document.
As to me:
1. To copy the first line and to place in a variable
2. Whether to check up there is further an empty line
3. To copy answers, every line (the separate answer) in a separate variable
4. If there is again an empty line further what to consider as the beginning of a new question

While it is everything, that is necessary. I will be grateful for any help and excuse for my bad English