This SQLite post explains how to use the SQLite trim function with syntax and examples.
The SQLite trim function removes all specified characters from both sides of a string.
The syntax for the trim function in SQLite is:
The string to trim the characters from.
The string that will be removed from both sides of string. If this parameter is omitted, the trim function will remove both leading and trailing space characters from string.
The trim function can be used in the following versions of SQLite:
Let's look at some SQLite trim function examples and explore how to use the trim function in SQLite.
For example: