.\"returns the length of a string .DT strlen Discworld driver help strlen Name .SI 5 strlen() - returns the length of a string .EI Synopsis .SI 5 int strlen( string str ); .EI Description .SP 5 5 strlen returns the length of the string <str>. The length of a string is defined as the number of characters appearing before the first character 0 ('\\0'). .EP