I would like to cut this repeating sections between lines but if i using strValues.Split({“Section 3.2”,“Section 3.5”},StringSplitOptions.None) then split it for 3.2 to 3.2 to 3.2 to 3.5 <---- i need this in one string to cut this in a part in loop. The reason is that on the example can be different number of elements in other page this repeating section can be more or less.
Store it in string variable → strValue listvalue->List(String) listvalue= strValue.Split(Environment.NewLine.ToArray, StringSplitOptions.RemoveEmptyEntries).ToList()
use Assign activity listvalue=listvalue.Distinct().ToList()
Sorry my friend but You dont undestand problem. Your solution is useless on this problem. I need all of the string but i need cut out this part which is between line. I dont need to remove duplicated parts… i need them but in one string.
Part1
Part2 with repeating parts which i want isolated…
Part3
I need this Part2 cut out. Thats all and one condition is that it should be in one string.
That would give you only the text between those Sections.
There’s a Regex solution to this as well, but was just giving a quick answer. I’m also not sure the solution you need completely, cause there might be more to it than that.