Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite SQL Function Reference » Alphabetical list of functions

TODAY function [Date and time] Next Page

TRIM function [String]


Removes leading and trailing blanks from a string.

Syntax

TRIM( string-expression )

Parameters

string-expression    The string to be trimmed.

Remarks
See also
Standards and compatibility
Example

The following statement returns the value chocolate with no leading or trailing blanks.

SELECT TRIM( '   chocolate   ' );