Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Selection Object > Methods

EmEditor Macro Reference: ChangeCase Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Selection Object

ChangeCase Method

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.

Copyright © 2003-2016 by Emurasoft, Inc.