 |
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 |
 |