STRLEFT scalar function

The STRLEFT function returns the leftmost string of string-expression of length length, expressed in the specified string unit.

Read syntax diagramSkip visual syntax diagram STRLEFT ( string-expression , length ,CODEUNITS16CODEUNITS32OCTETS )

The schema is SYSIBM.

The STRLEFT scalar function is a synonym for the LEFT scalar function.