06-30-2009, 06:57 PM
Code:
Dim SearchWithinThis As String = "ABCDEFGHIJKLMNOP"
Dim SearchForThis As String = "DEF"
Dim FirstCharacter As Integer = SearchWithinThis.IndexOf(SearchForThis)
Have you tried that yet? It's straight from the MSDN library.