IBM Integration Bus, Version 10.0.0.17 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


LTRIM function

LTRIM is a string manipulation function, used for manipulating all data types (BIT, BLOB, and CHARACTER), that returns a character string value of the same data type and content as source_string, but with any leading default singletons removed.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-LTRIM--(--source_string--)----------------------------------><

The term singleton is used to refer to a single part (BIT, BLOB, or CHARACTER) within a string of that type.

The LTRIM function is equivalent to TRIM(LEADING FROM source_string).

If the parameter is NULL, the result is NULL.

The default singleton depends on the data type of source_string:
Table 1.
Character ' ' (space)
BLOB X'00'
Bit B'0'

ak05220_.htm | Last updated 2019-07-13 08:12:50