Function removePadding

  • Removes padded ends from the string

    Parameters

    • text: string

      Formatted string

    Returns string