I have this strings that are extracted from a PDF:
• Help with packing of goods, which increased
productivity of up to 6%
• Cashiering duties
• Liaising with external people
How do I check for every line if there is an bulletpoint in front and
If there is a bulletpoint, execute nothing
If there is no bulletpoint, combine the line with no bulletpoint (in this example is the 2nd line) to the above line that has a bulletpoint (in this example is the 1st line)?
My desired output is:
• Help with packing of goods, which increased productivity of up to 6%
• Cashiering duties
• Liaising with external people
Hi @audrxyx hope you are doing well.
Firstly, data = extracted string.
Secondly, SplitData = data.split(environment.NewLine.ToCharArray)
Thirdly loop items in SplitData and perform if condition: item.Contains(“•”) and if it does not contain append it with previous string.
I think this will help you to get your desired output. I am also attaching the workflow for your reference that gives a basic idea of the logic you can enhance it by using different mechanisms to store and print and deleting the previous entry when it does not contain bullet points and so on BulletPoints.xaml (10.5 KB)
.