startsWith

fnbool startsWith(IStr str, IStr start) @safe nothrow @nogc

Returns true if the string starts with the specified substring.

fnbool startsWith(IStr str, char start) @safe nothrow @nogc

Returns true if the string starts with the specified character.