Macro Reference — CharacterRange Object — TreatAs Property (CharacterRange Object)

# TreatAs Property (CharacterRange Object)

Specifies the character to be substituted for. If -1 is specified, the specified range will be ignored when used for fuzzy matching.

##

### [JavaScript]

    c = item.TreatAs;
    item.TreatAs = c;

### [VBScript]

    c = item.TreatAs
    item.TreatAs = c

## Version

Supported on EmEditor Professional Version 22.0 or later.