strlen()

Returns the length of a string in Bytes.

Synopsis

int strlen(string s);

Parameters

Parameter Description
s String to be examined

Return value

The length of a string in Bytes.

Errors

missing/incorrect argument

Description

Returns the length of a string s in Bytes.

Example

main()
{
  DebugN(strlen("ABC")); // Length 3
}

Assignment

Strings

Availability

CTRL