VBA - count substrings in string. string="ABBBBACCC" goal=2 'number of occurances of "A". MsgBox Len(string) - Len(Replace(string, "A", "")).
確定! 回上一頁