http://www.achiuan.com/
Public Function sCount(ByVal str As String, ByVal find As Char) As Integer Dim count As Integer = 0 For Each s As Char In str If s = find Then count += 1 End If Next Return count End Function
沒有留言:
張貼留言