

strlen()                 String Function                 strlen()




Measure the length of a string

#include <string.h>
iinntt ssttrrlleenn(_s_t_r_i_n_g) cchhaarr *_s_t_r_i_n_g;

strlen  measures string,  and returns  its  length in  bytes, _n_o_t
including the null terminator.  This is useful in determining how
much storage to allocate for a string.

***** Example *****

For an  example of how  to use this  function, see the  entry for
string.

***** See Also *****

string functions, string.h







































COHERENT Lexicon                                           Page 1


