TRIM
Syntax
TRIM( string )
Description
Returns the string string without spaces at the beginning or end of the string.
Argument types:
string—String
Return type: String
Example
TRIM(" Computer ") = "Computer"
Data source support
ClickHouse 21.8, Files, Google Sheets, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, Yandex Documents.