Welcome to another notepad plus plus tutorial. So today I’m going to show you how to add a insert string every line Notepad of text file. so are you ready let’s get started.
Notepad++ How To Insert A String Or A Number To Every Line ?
Let’s say for example you have a text file so I’ll be using this Lestat txt as an example. So I will open it using notepad plus plus here we go, so we have a couple of lines. so let’s say that for example, we want to add the strain at the beginning to every line here.
So I’ll go to my first line and in my keyboard, I will hit ‘shift’ and ‘Alt key’ and with the down key, I’ll move down to my text file. So I’ll move down move down to the last line then I will go to the Edit menu here and our select column editor as you can see here okay.Now here I have the option to insert the text, so for example, I can insert that keyword hello we can add space after it and I’ll hit okay.So now as you can see I added the string key to every line I can do the same thing but this time adding numbers okay.
I will go to my first line hit the shift alt key and with the down key I will move down then edit menu then column editor okay
So this time instead of using the inserted text I will choose to insert a number so this is my initial number, so I can start for example with 100 I can increase by whatever number I want. So I’ll just increased by 1 and here I’ll choose the format, so I can add it in decimal format or hexadecimal format so all through the regular one which is this a decimal format okay and I can hit OK.As you can see a couple of numbers has been added starting from 100 and increased by 1 every time okay.
Actually just using this column editor here that you can access also using shortcut alt see you can insert whatever you want at the beginning of every line you can insert text or number starting by whatever number you want, so that was just short introduction to how to insert text using notepad plus plus especially with the column editor as always. I hope this information is useful for you and I want to say thank you