Left String

Returns the left portion of the string for the specified number of positions.

Inputs

String
The String object you are retrieving.

Length
An integer that specifies the number of positions in the String object to return.

Output

Returns a String object that contains the left portion of the original String object.

Copyright IBM Corp. 2003, 2004