Command Reference — Convert category — Join Lines command

# Join Lines command

## Summary

Joins non-empty lines by replacing each newline with a space.

## Description

Removes newline characters at wrap points in the selection. Similar to Remove Newline Characters command, but this command inserts a space at each line at wrap points.

## How to Run

- Default Menu: Convert > Join Lines

- All Commands: Convert > Join Lines

- Toolbar: None

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_JOIN_LINES (4378)

## Macros

### [JavaScript]

    document.selection.Format(eeFormatJoinLines);

### [VBScript]

    document.selection.Format eeFormatJoinLines