【发布时间】:2017-10-25 16:25:16
【问题描述】:
我试图在一个字符串中出现多个字符。它应该工作,但它没有。
Function countLetter(letter As String, secretWord As String)
MsgBox (Split(secretWord, letter).Length)
countLetter = Split(secretWord, letter).Length - 1
End Function
这里有什么问题?
【问题讨论】: