Hongmu Notes

✂️ Text interception by column

Line by line, extract the middle section of the line according to the starting position and length.

Instructions for use

  • Fill in the starting position and interception length and click "Start Processing"
  • Positions are counted from 0, negative numbers count backwards from the end of the line
  • Short lines will get empty results and the status line will give their line number

Export interception results

The results are easy to lose if they are left on the page. Exporting them to a file is safer and easier to deliver.

Export format

Export as a plain text file, with one fragment per line, consistent with the number of lines of the original text.

When you need a table, export it first and then import it into the table software to separate the columns.

newline character

The output is based on the system's default line break, and it can be separated into lines normally when pasted into a table or code editor.

Pay attention to the difference in line breaks when using across platforms.

Chinese encoding

According to UTF-8 output, Chinese characters will not appear garbled.

The old software requires other encodings to be imported and then saved.

Differences from copy-paste

Copying is suitable for a small amount of results for easy use; exporting is suitable for keeping a whole batch of files, regardless of the length of the clipboard.

It is recommended to export large sections of results directly.

Check after exporting

Before exporting, first confirm that the number of lines is consistent with the original text, and then check whether the contents of the first and last two lines are correct.

If you find that there are fewer lines, it is usually because there is no line break at the end of the original text.

All keywords and tutorials 12

❓ FAQ

Will the export include the original text?
No, only the intercepted results will be exported.
What is the encoding of the exported file?
UTF-8, Chinese will not be garbled.