LTRIM

2023-07-28 02:53:17  Updated

Syntax

LTRIM(str)

Purpose

LTRIM() removes the leading spaces from a string.

Examples

obclient> SELECT LTRIM('    obclient    ') AS ltrim;
+--------------+
| ltrim        |
+--------------+
| obclient     |
+--------------+
1 row in set

Contact Us