TRIM - Removing Leading and Trailing Spaces from the Text

  • Last update:July 25, 2023
  • Overview

     

    Grammar

    TRIM(text)

    Returns the text with all leading and trailing spaces removed.

    Parameter 1

    text

    Text from which you want to remove spaces

    Notes

    The function supports only one text parameter.

    Example

    The TRIM function can remove all extra spaces at the beginning and end of the text.

    For example, to remove leading and trailing spaces from the text "  software advice  ", you can add a calculation indicator with the formula TRIM("  software advice  "), as shown in the following figure.

    TRIM.png

    Drag this indicator into the analysis area, as shown in the following figure.

    TRIM2.png

    Another example:

    FormulaResultNotes
    TRIM(" Monthly Report")Monthly Report-


    附件列表


    主题: Advanced Data Analyis
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy