is_prefixed

Check if a string has the given prefix. Returns 0 if not prefixed or the length of the prefix if it is.

extern (C) nothrow @nogc public
size_t
is_prefixed
(
const(char)* str
,
const(char)* pfx
)

Meta