strlen()

Syntax
  #include <string.h>

  
  size_t strlen(const char *s);

  
Description

strlen() returns the number of characters in string s.

Return

The length of the string.

See also