Dim myString
' comma separated string value assigned to the variable
myString = "str1,str2,str3,str4,str5"
' variable to store the result of Split function
Dim myArray
' split function with delimiter parameter as comma ","
myArray = Split(myString,",")
明唔明? 將最後一行 "," 轉 Chr(23) <-- 好似係 23 就 ok
[ 本帖最後由 tunster 於 2008-10-25 10:50 編輯 ] |