I want to move all lines from String apa1;
to String apa2;
until we find the first blank line.
apa1 can look like this:
texttest: text test
test text test text
Lorem ipsum dolor sit
amet, consectetur
adipiscing: elit.
Curabitur dolor lectus,
cursus ac placerat vitae,
volutpat sit: amet lacus.
I want apa1 to look like this:
Lorem ipsum dolor sit
amet, consectetur
adipiscing: elit.
Curabitur dolor lectus,
cursus ac placerat vitae,
volutpat sit: amet lacus.
And apa2 to look like this:
texttest: text test
test text test text
How do you solve this problem?