RTRIM

Syntax

RTRIM( string )

Description

Returns the string string without spaces at the end of the string.

Argument types:

  • stringString

Return type: String

Example

RTRIM("Computer ") = "Computer"

Data source support

ClickHouse 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.

Previous
Next