Left
Syntax: Left(inputString, length)
Arguments:
- inputString is a string from which characters will be retrieved.
- length is the number of characters to be retrieved.
Return Type: String.
Description: Returns the characters specified by length starting from the first (leftmost) character in inputString.
Example:
if Left(CRTRAN25.PAN, 6) = ("101123" or "129466")
then {... ;}
This rule acts upon authorizations associated with accounts whose numbers fall within a defined range. It then determines whether the transaction is an authorization and, if so, uses the
Left function to set Bin to the leftmost six digits of the account number. An
if
clause then tests whether the Bin value is either 101123 or 129466. If so, the
then
clause is evaluated.