LEFT

If $1 has more than $2 characters, return the left-most $2 characters. Else return $1.

Syntax

LEFT($1, $2)

Parameters

$1

Should evaluate to a string

$2

Should evaluate to an integer