in reply to Re^4: Match Line And Combine Into One Line
in thread Match Line And Combine Into One Line
In what way is it not working as expected?
Maybe you can show some relevant input and relevant output and explain how the output differs from what you expect?
Also, I notice that your indentation is very inconsistent. Consider applying a consistent way of indenting. For example, indent the complete loop body by four spaces below the while but don't indent anything else, as the while(...) { ... } statement is the only block within your program.
While indenting, you might find that some things are within the block of your loop which you did not want there.
|
|---|