strlen() String Function strlen() Measure the length of a string #include <string.h> int strlen(string) char *string; strlen measures string, and returns its length in bytes, not 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