小工具整理

This commit is contained in:
Abin
2025-07-31 16:05:55 +08:00
commit 1011eb44e1
566 changed files with 267142 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
a=#("a","b","c","d","e")
b=#("x","y","z")
c="s"
append a "f"
appendIfUnique a "f" --对比如果有 则附加
deleteitem a a.count --删除a索引位置的元素
join a b --只能是数组 不能join a c
insertItem c a 3 --把c插入a的第3个位置
findItem a "k" --寻找不成功返回0 成功返回索引
a