trim

Remove all trailing spaces from a string

Syntax

trim(num, string_expr, string_expr)

Arguments

string_expr A string expression.

Description

This scalar string function removes all trailing spaces from the specified string.  The string parameter can be an ASCII string or a Unicode string.  If a Unicode string is specified, the function returns a Unicode string.