The length property of
a string is determined with the strlen( ) function, which returns the number of
eight-bit characters in the subject string:
- integer strlen(string subject)
We used strlen( ) earlier in the chapter to compare
string lengths. Consider another simple example that prints the length of a
16-character string:
print strlen("This is a String"); // prints 16