2011-02-10 55 views

回答

2

INSTR有利於快速解決方案,如果你的strins大或者你有thisoften你最好還是遇到了字符串轉換爲數組使用dthen使用過濾器來查找德值

所以

dim temp, aTemp 
temp="alpha,bravo,charlie" 
aTemp = split(temp,",") 
aFound = Filter(aTemp , "alpha") ' aFound (0) contains "alpha" or is an empty array if not found. 

Grtz

相關問題