Scalar function
NULL subject or NULL trim characters returns NULL; an empty string remains empty.
Syntax
Scalar
Arguments
Returns
- Type: STRING
- NULL behavior: NULL subject or NULL trim characters returns NULL; an empty string remains empty.
Properties
Usage notes
- The trim option selects whether characters are removed from the start, end, or both ends of the text.
- Deterministic: The same inputs and settings produce the same result.
Examples
Typical behavior
Choose the characters to remove
Last modified on October 15, 2026