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.


TRIM( string-expression )


string-expression    The string to be trimmed.

See also
Standards and compatibility

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

SELECT TRIM( '   chocolate   ' );