The stleng() function returns the length, in bytes, of a null-terminated string that you specify.
The length does not include the null terminator.
This sample program is in the stleng.ec file in the demo directory.