is_prefixed

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

package nothrow @nogc
size_t
is_prefixed
(
const(char)* str
,
const(char)* pfx
)

Meta