strlen

Syntax

int strlen(const char* s)

Arguments

s
The string of which to determine the length.

Return

An integer value indicating the length of s.

Description

Returns the length of string s excluding the trailing NULL character.