strlen Function

Calculates the length of a string.

int strlen(const char[] str)

Parameters

const char[] str

String to check.

Return Value

Number of valid character bytes in the string.