strlen

Synopsis

$ strlen("string")

Returns the length of the specified string.

Parameters

"string" - the string to obtain the length of.

Returns

A scalar integer

Examples

$string = "this is some text"; $length = strlen($string); println($length);

17

See Also