hi all,
i need a urgent suggestion for format the string paragraph
there is 3 level string in paragraph
the level 2 and level 3 are optional.. there may not have level 2 or level 3 in the paragraph after level 1 %%
and the string will mix up too... will not line by line
e.g.
%%this is line 1 level 1 ?? this is line 1 level 2 && this is line 1 level3%%this is line 2 level 1%%this is line 3 level 1 ?? this is line 3 level 2%%this is line 4 level 1 ?? this is line 4 level 2 && this is line 4 level3
the result string must be
%%this is line 1 level 1 ?? this is line 1 level 2 && this is line 1 level3
%%this is line 2 level 1
%%this is line 3 level 1 ?? this is line 3 level 2
%%this is line 4 level 1 ?? this is line 4 level 2 && this is line 4 level3
thx thx
alex