Command Reference — Convert category — Remove Trailing Spaces command

# Remove Trailing Spaces command

## Summary

Removes trailing spaces, tabs, and full-width spaces in the selection.

## Description

Removes trailing spaces, tabs, and full-width spaces in the selection.

## How to Run

- Default Menu: Convert > Remove Trailing Spaces

- All Commands: Convert > Remove Trailing Spaces

- Toolbar: None

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_SEL_TRIM_RIGHT (4016)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4016);

### [VBScript]

    editor.ExecuteCommandByID 4016