$return = mid(string,start[,length])
|$return||the characters from the middle of the string.|
|string||the input string of characters.|
|start||the starting position within the string.|
|length||the number of characters to return. If length is not specified, all the characters from the starting position to the end of the string are returned.|
string, start and length may be variables.
The mid command returns the specified number of characters starting at the start position.
$return = mid("abcefgh",2)
$return = mid("abcefgh",2,2)
$return = mid($text,$start,$length)
TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.