Purpose
Returns the argument expr1, with its right-most characters removed up to the first character that is not in the argument expr2.
Syntax
- TD_SYSFNLIB.
- Name of the database where the function is located.
- expr1
- A character string or string expression. If expr1 is NULL, NULL is returned.
- expr2
- A string of characters or a numeric expression that will be removed from string1. If expr2 is specified, it must be the same datatype as expr1. If expr2 is not specified, the default is to use a single space character.