ChangeCase Method (Selection Object)

Changes the case of the selected text.

[JavaScript]

document.selection.ChangeCase( nFlags );

[VBScript]

document.selection.ChangeCase nFlags

Parameters

nFlags

Specifies one of the following values:

eeCaseLowerCase

Converts uppercase letters to lowercase letters.

eeCaseUpperCase

Converts lowercase letters to uppercase letters.

eeCaseCapitalize

Capitalizes the first letter of each word (EmEditor Professional Version 4.10 or later).

Version

Supported on EmEditor Professional Version 4.00 or later.