Beginner here, bear with me, I apologize in advance for any mistakes.
It's some homework i'm having a bit of trouble going about.

Overall goal: outputting the specific amount of characters in a string using a loop statement. Example being, user wants to find how many "I" is in "Why did the chicken cross the road?", the answer should be 2.

1) The form/gui has 1 MultiLine textbox and 1 button titled "Search" 

2) User enters/copys/pastes text into the Textbox clicks "Search" button 

3) Search button opens an InputBox where the user will type in what character(s) they want to search for in the Textbox then presses "Ok"

4) (where I really need help) **Using a Loop Statement**, The program searches **and counts** the amount of times the text entered into the **Inputbox**, appears in the text inside the **MultiLine Textbox**, **then**, displays the amount of times the character showed up in a "messagebox.show"

All I have so far

```
Private Sub Search_btn_Click(sender As System.Object, e As System.EventArgs) Handles Search_btn.Click
    Dim counterInt As Integer = 0
    Dim charInputStr As String
    charInputStr = CStr(InputBox("Enter Search Characters", "Search"))

```