Home > Article > Development Tools > How to add the same character in front of each line in notepad++
In the process of programmer development, a good tool is notepad. This tool is an enhancement of notepad and enhances many functions, including the column block editing mode that programmers like, and supports many plug-ins, such as json formatting, Support markdown syntax.
A scenario is like this: (recommended learning: notepad )
The title bar of the uploaded salary slip is the above content. Therefore, when entering the database, we need to turn all these contents into strings, but it is very troublesome to operate one by one. How to use notepad to quickly achieve this? What about adding the required characters to the beginning and end of the line?
Extract the contents of the payslip header row in Excel
Transpose the contents of the payslip header row into column form, as shown in the previous figure.
Use column block editing mode to add "" to the beginning of the line
First place the cursor before the serial number, then click Edit, select column block editing, or you can place the cursor Place it after the serial number and use the shortcut key Alt C to quickly open the column block editing dialog box.
The results are as follows:
The above is the detailed content of How to add the same character in front of each line in notepad++. For more information, please follow other related articles on the PHP Chinese website!