I couldn't find by searching this forum the way to do that, so I
thought it is better to ask and learn.
The data I am trying to unfold is in the form of string array
read from a file line by line, like this:
string lines =
where <white space> represents some white space character(s). It
could be TAB or SPACE, etc.
Now, I want to find a way to concatenate valueD to the previous
element which begins with key3 and afterwards concatenate valueE
also to the concatenated string for key3.
The rule is that long strings are folded when written to the file
and folded lines always begin with a white space.
Finally I am going to use assocArray to construct an associative
All advises are welcome