VS 2008 - IndexOf - User Enters A Letter Into A Text Box, And The Output Must Make The Letter UppercaseJun 28, 2010
I am a vb newbie having some trouble with an assignment. A user enters a letter into a text box, and the output must make the letter uppercase and tell what position the letter is at in the sentence "The quick brown fox jumps over a lazy dog."
Here is my
Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
This is what comes out: "A first occurs in position -1". Everything comes out except the position is always displayed as -1.