P
P
Pinkpowder2022-04-07 10:13:39
Macros
Pinkpowder, 2022-04-07 10:13:39

How to merge strings in Notepad?

I have an array of data, for example:
milk 1
cow 2
plant 3
milk 4
cow 5
plant 6
milk 7
cow 8
plant 9
Milk, cow and plant always go in this order, you need to combine the lines like this:
milk 1 cow 2 plant 3
milk 4 cow 5 plant 6
milk 7 cow 8 plant 9
And we also need to swap cow and plant:
milk 1 plant 3 cow 2
milk 4 plant 6 cow 5
milk 7 plant 9 cow 8

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question