Type Alias CutFirstChars<S, N, SArray>

CutFirstChars: Join<SArray extends string[] ? SArray : never>

Cuts the first N characters from a string.

Type Parameters

type Original = CutFirstChars<"abcdef", 2>; // "cdef"