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 the other letters to lowercase letters.

How to Run

Plug-in Command ID

Macros

[JavaScript]

document.selection.ChangeCase(eeCaseCapitalize);

[VBScript]

document.selection.ChangeCase eeCaseCapitalize

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2012 by Emurasoft, Inc.