Hex Core JS
    Preparing search index...

    Function trimLeft

    • Trims leading c characters from the string s. Related: trimPrefix.

      Parameters

      • s: string

        The string to trim.

      • c: string

        The character set to trim from s.

      • limit: number = -1

        The maximum number of characters to trim from the left side (default is -1), a value less than zero indicates no limit.

      Returns string