Hex Core JS
    Preparing search index...

    Function trim

    • Trims leading and trailing c characters from the string s.

      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 each side (default is -1), a value less than zero indicates no limit.

      Returns string