$return = left(string,length)
Where:
$return | the characters from the left side of the string. |
string | the input string of characters. |
length | the number of characters to return. If 0 is specified, no characters are returned. If the length is greater than the input string length, the entire string is returned. |
string and length may be variables.
The Left command returns the specified number of characters from the left side of the string.
Examples
$return = left("abcefgh",4)
$return = left($text,$length)
See Also:
TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.