經安全檢測,此網站為安全網站,請放心前往原始網址!

How to Find a Character in a String in Visual Basic | eHow

Type the following lines last in the editor to search the array, strArr, for a specific character. Dim c as char = "l" Dim n As Integer = 0 Dim count as integer=0 For n = 0 To strArr.Length - 1 If strArr(n) = c Then Count+=1 End If Next Console.WriteLine(

www.ehow.com

網址安全性掃描由 google 提供