nu_strlen

Gets the length of a null-terminated string.

@system @nogc pure nothrow
size_t
nu_strlen
(
T
)
(
inout(T)* str
)

Parameters

str inout(T)*

the string to check the length of.

Return Value

Type: size_t

The length of the string in code units. If str is not null terminated the return value is undefined.

Meta