EmEditor Home - EmEditor Help - Command Reference - Edit category

Capitalize command

Summary

Capitalizes the first letter of each word in the selection.

Description

Converts the first letter of each word in the selection to uppercase letters, and converts the other letters to lowercase letters.

How to Run

Plug-in Command ID

Macros

[JavaScript]

document.selection.ChangeCase(eeCaseCapitalize);

[VBScript]

document.selection.ChangeCase eeCaseCapitalize

Copyright 2003-2015 by Emurasoft, Inc.