left
(function)

Summary:
Extraction of the left part of a string.

Syntax:
left(expr1, expr2)

Description:
Returns the left part, composed of expr2 characters, in the string returned by expr1.   If expr2 does not evaluate to an integer,  or if expr2 < 0, or if expr2 length(expr1), or if expr1 does not evaluate to a string, an error is returned.

Example:

variable: sexCode
  type: string
  definition: sexCode = left(socialSecurityCode, 1)
See also:
right, substring, length