@buildtheearth/bot-utils
    Preparing search index...

    Function trimSides

    • Parameters

      • text: string

        The text to trim

      • startTrim: string

        The string to trim from the start

      • endTrim: string

        The string to trim from the end

      Returns string

      The trimmed text

      A lodash macro to trim the sides of a string