gsql_rtrim()

Trims trailing whitespace from the input string.

Syntax

gsql_rtrim(in_string)

Parameters

in_string

Required. The string whose trailing whitespace to trim.

Return type

STRING

Example

gsql_rtrim("  hello world  ") -> "  hello world"