Please enable JavaScript to view this site.

ESL Documentation

Special Inquiry Built-in Function

Return the number of characters in a string.

length of STRING_SV

STRING_SV

Any ESL value that evaluates to a string.

Description

This function returns an integer that represents the number of characters, including spaces, in the specified string.

Example

 

response to keyboard

 if ((length of Input) > 20) then

         change ErrorReg to

         "Input Too Long"

 end if