Library API
    Preparing search index...

    Type Alias Substring<U, Max, Start>

    Substring: Substr<U, Max, Start>

    return a substring of a string-type
    eg: Substr<Monday|Tuesday|Wednesday, 3> returns Mon|Tue|Wed
    U is the original string union
    Max is the number of chars to return
    Start is the offset (starting from '1')

    Type Parameters

    • U extends string
    • Max extends number
    • Start extends number = 1