popFront

fnvoid popFront(T)(scope ref inout(T)[] a) if (!isAutodecodableString!(T[]) && !is(T[] == void[])) @safe pure nothrow @nogc

Implements the range interface primitive popFront for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, array.popFront is equivalent to popFront(array). For narrow strings, popFront automatically advances to the next code point.

fnvoid popFront(C)(scope ref inout(C)[] str) if (isAutodecodableString!(C[])) @trusted pure nothrow

ditto