Home  >  Article  >  Development Tools  >  How to add the same character in front of each line in notepad++

How to add the same character in front of each line in notepad++

(*-*)浩
(*-*)浩Original
2019-08-05 16:27:185618browse

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.
How to add the same character in front of each line in notepad++

A scenario is like this: (recommended learning: notepad )

How to add the same character in front of each line in 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.

How to add the same character in front of each line in notepad++

The results are as follows:

How to add the same character in front of each line in notepad++

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn