AllowOnlyChars

Removes all of the characters that are not specified as supported.

Syntax

bool AllowOnlyChars (StrParam)

Parameters

A Regular Expression that specifies permitted characters in the current word. Smart parameters are supported.

Returns

Always True.

Level

Field level.

Details

This action employs a Regular Expression as its parameter to identify and remove all of the characters that are not in the parameter from the value of the Field.

An empty argument removes all characters.

Example
AllowOnlyChars("ABCDEFG.")
HELLO DOLLY. becomes ED.