TRIM - Removing Leading and Trailing Spaces from Text

  • Last update: May 30, 2025
  • Overview

    Syntax

    TRIM(Text)

    Removes leading and trailing spaces from Text.

    Parameter

    Text

    The text from which you want spaces removed

    Return Value Type

    Text

    Example

    FormulaResult

    TRIM(" Monthly Report")

    Monthly Report

    The TRIM() function can be used to remove any extra spaces at the beginning and end of text.

    For example, to remove leading and trailing spaces from "  software advice  ", add a New Calculation Column operator and input the formula TRIM("  software advice  "), as shown in the following figure.

    Click Data Preview. You can view the field with spaces removed in the new column, as shown in the following figure.

    2-3.jpg

    附件列表


    主题: Data Development - Scheduled Task
    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