The byleng() function

The byleng() function returns the number of significant characters in a string, not counting trailing blanks.

Syntax

mint byleng(from, count)
   char *from;
   mint count;
from
A pointer to a fixed-length string (not null-terminated).
count
The number of bytes in the fixed-length string. This does not include trailing blanks.