Skip to content
页面导航
Are you an LLM? You can read better optimized documentation at /krpalite/HelpDoc/Data Processing/Array Operations/Find the position of the element.md for this page in Markdown format
查找元素出现的位置
适用系统: windows
功能说明
功能描述
查找一个元素的索引位置
指令输入
数组
Array
:
输入或选择一个待转换的数组变量
SearchWay
Integer
:
选择一个查找的方式 第一次出现/最后一次出现
查找元素
Vatiant
:
输入或选择一下需要查找的元素
指令输出
保存结果至
Array
:
返回要查找元素的索引位置
使用示例
使用【设置变量】定义数组变量 --> 使用【查找元素出现的位置】查找某个元素的索引位置 --> 打印输出返回结果