Next Previous Contents

72. strlen

Synopsis

Compute the length of a string

Usage

Integer_Type strlen (String_Type a)

Description

The strlen function may be used to compute the length of a string.

Example

After execution of

   variable len = strlen ("hello");
len will have a value of 5.
See Also

substr


Next Previous Contents