Possibly the simplest way, but I doubt you will have covered this in your course:
vb.net Code:
Dim chrArray As Char() = TextBox1.Text.ToCharArray Dim intArray As Integer() = Array.ConvertAll(chrArray, Function(c As Char) Integer.Parse(c))
Just another suggestion to add to the mix.





Reply With Quote
