Jul-10-2022, 07:14 AM
(Jul-10-2022, 05:32 AM)Lky Wrote: What will be the condition for A. B. C. D.?Introduce a boolean variable e.g. "do_copy". If this variabel is true, copy the line. Else not.
When a line contains: "Question 2 " then toggle the variable to False.
When a line contains: "Question" then toggle the variable to True.