How do I convert code from a column:
1
2
3
4
to in a row (with spaces):
1 2 3 4
using Notepad++ ?
Answer
Select to suit, Search, Replace \r\n with 'space' (using Extended).
Notepad ++ puts a carriage return and a line feed at the end of each line (automatically when Enter is pressed). These can be displayed if Show All Characters
is toggled (the pilcrow – ‘¶’, like a reversed P) and in Extended Mode accessed with \r
for return and \n
for new line. To substitute these two control codes with a space just place them in Find what :
and hit Space in Replace with :
:
No comments:
Post a Comment