rtrim¶
Description¶
rtrim
removes trailing characters from a string.
The default value for chars
is ' '
(a single space character). If chars
is not specified, rtrim
removes all trailing spaces.
See also trim
, ltrim
.
Return type¶
string
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
rtrim(str, [ chars ])
Argument |
Type |
Optional |
Repeatable |
Restrictions |
---|---|---|---|---|
str |
string |
no |
no |
none |
chars |
string |
yes |
no |
constant |
Examples¶
make_col trimmed_kind:rtrim(bundle_kind, ' ')
Removes trailing spaces from bundle kinds