title: Exit For in vb.net will not exit
body: <p>I have these for loops:</p>
  
  <pre><code>For x = search_phone.Length To 0 Step -1
                      For m = 1 To number_call_costs
                          If search_phone.Substring(0, x) = call_costs_data(m, 2) Then
                              match = True
  
                              customer_cost = callcost_lookup("sequence", call_costs_data(m, 1), customer_sequence, "cost")
                              customer_connection = callcost_lookup("sequence", call_costs_data(m, 1), customer_sequence, "connection")
                              description = call_costs_data(m, 3)
                              MsgBox(call_costs_data(m, 3))
                              Exit For
                              Exit For
                          End If
                      Next
                  Next
  </code></pre>
  
  <p>the data i am testing with is:</p>
  
  <pre><code>search_phone = '101'
  call_costs_data(m, 2) = one row is '1' and another row is '101'
  </code></pre>
  
  <p>its matching <code>search_phone</code> to <code>101</code> in the loop but its not exiting, because its matching again to <code>1</code></p>