Len - return the length of a string

Return to Introduction  Previous page  Next page

$return = len(string)

Where:

 

$returnthe length of the string.
stringthe input string of characters.        

 

string may be a variable.

The Len command returns the length of a string.

Examples

$return = len("abcefgh")

$return = len($name)

 

See Also:

 

Script Command Summary

Script Variables

Using the Scripting Language


TN3270 Plus is continually being improved. To learn more about the latest enhancements, please review our Version History web page.