Eliminate double spacing

Usually double spacing is caused by some text editor or control interpret both carriage return (0x0d or \r) and new line (0x0a, or \n) as starting a new line.  This can be remedied by remvoing all carriage returns.

For example, in Visual Studio, replace "\n" with nothing:

Find what:

\n

Replace with:

 

Use regular expression.

This article was updated on 19:16:30 2024-04-07