$WBHE is available for use with all WBSP commands.
sourcetext - the text containing characters that should be converted to HTML entities (&#number;)
validchars - the string containing characters that will not be replaced. If not defined, default string is used. The default string contains upper and lower case English alphabet characters, number characters, space, new line (ASCII 10) and carriage return (ASCII 13)
The sourcetext with HTML entities instead of any character not in validchars list.
After running this example, the source code of a resulting page should look like this: