You can use [Alt left mouse button] to enter column mode to add;(recommended learning:use notepad)
You can also use column block editing mode to add a string to the beginning of the line.
First place the cursor before the serial number, then click Edit and select column block editing. You can also use the shortcut key Alt C after placing the cursor before the serial number. Open the column block editing dialog box and fill in the string to be added in [Insert text].
The results are as follows:
The above is the detailed content of How to add the same string before each line in notepad. For more information, please follow other related articles on the PHP Chinese website!