@COUNTUNSAFE — Returns the number of “dangerous” characters in a string.

Syntax:
%@COUNTUNSAFE[text]

text:the string to examine

This function counts the number of “dangerous” characters, as defined by the UNSAFE command, in the input text.