INDEXOF - Returning the Character at a Specified Position in the Text

  • Last update: May 30, 2025
  • Overview

    Syntax

    INDEXOF(Text, Index)

    Returns the character at the specified Index in the Text.

    Parameter 1

    Text

    String

    Parameter 2

    Index

    The position where the function returns the character

    Return Value Type

    Text

    Notes

    • The Index starts from 0.

    • If any parameter is NULL, the result is NULL.

    Example

    FormulaResultNote

    INDEXOF("FineDataLink",0)

    F

    /

    INDEXOF("FineDataLink",2)

    n

    /

    INDEXOF("FineDataLink",5)

    a

    /

    For example, the following steps describe how to use the function to filter the Store_No. field ending with 3.

    Add a New Calculation Column operator in the Data Transformation node and input the formula INDEXOF(Store_No.,4)="3", as shown in the following figure.

    iconNote:
    As the INDEXOF() function returns data of the text type, you need to enclose the value 3 in quotation marks ("") to convert it into the text type.

    Click Data Preview to view if the Store_No. field ends with 3 in the Judgement field, as shown in the following figure.

     3-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