检测一个数组中存在几个指定的项,例如数组中的元素为“html,title,table,title”,检测其中含有多少个title
MsgBox UBound(Filter(Split("html,title,table,title", ","), "title")) + 1 其实下面的也可以达到效果: MsgBox UBound(Split("html,title,table,title", "title"))
Powered by: 博客园 Copyright © 2024 随风飘零0 Powered by .NET 8.0 on Kubernetes