DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

trim

Strips characters from the beginning and the end of the submitted value according to the list of characters. If no character list is set, it will only trim an ordinary space, a tab, a new line, a carriage return, the NUL-byte and a vertical tab.

characterList

Property:
characterList
Data type:
string
Description:

List of characters to be trimmed.

See the PHP-manual (trim) for the options of the charlist.

[tsref:(cObject).FORM->filters.regexp]