LEFT
Purpose
This function returns the left-aligned substring of string
with length length
.
Syntax
left::=
Usage Notes
- If either
length
orstring
isNULL
, thenNULL
is returned. - Also if
length
is greater than the length ofstring
, the originalstring
is returned. Iflength
is negative or0
, thenNULL
is returned. - Additionally, refer to functions SUBSTR[ING], MID and RIGHT for more information.