endsWith

fnbool endsWith(IStr str, IStr end) @safe nothrow @nogc

Returns true if the string ends with the specified substring.

fnbool endsWith(IStr str, char end) @safe nothrow @nogc

Returns true if the string ends with the specified character.