strlen

strlen --  counts the number of characters in a string.

Syntax

strlen (string)

		

Arguments

string

A string.

Returns

The number of characters in the string.

Example

    Gamma> strlen("Hello");
    5
    Gamma> strlen("How about a cup of coffee?");
    26
    Gamma> 
    		

See Also

length

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.