First of all I am a beginner, I have been actively learning to code for the second day and I like to think im picking it up quickly, if not for the odd stumbling block.
Can someone please help me complete the following code. I am trying to create a small program that accepts a string input and then puts the characters in that string into an array. The code is triggered by the button "Button1" on the form, there is also a text box that allows you to enter the string in the first place.
I know the logic as to how I want it to work (see below), but i'm having trouble putting it into code. Can anyone help or provide advice.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGuess.Click
Dim array As New ArrayList
Dim inputword As String
inputword = txtBoxGuess.Text
Dim inputwordlength As Integer
inputwordlength = inputword.Length
Dim loopcount As Integer
'add next unprocessed character of string "inputword" to first space allocation in array ("inputword.substring(????)")
'increment integer "loopcount" by 1
'stop looping when integer "inputword.length" is the same value as integer "loopcount"