一、概述
INDEXOF(str1,index):傳回字串 str1 在 index 位置上的字元。
str1:目標字串。
index:指定位置,數字。
index 是從 0 開始計數的。
INDEXOF(array,index):傳回陣列在index位置上的元素。
array:目標陣列。
index:指定位置,數字。
使用方式:
INDEXOF("FineReport",0)等於F。
INDEXOF("FineReport",2)等於n。
INDEXOF("FineReport",9)等於t。
INDEXOF(ARRAY("a","b","c"), 1)等於a。