title: substring and the indexOf method
body: <p>My assignment in Visual Basic 2010 is to build a order form that has two text boxes, one for the name and the other for the address. </p>
  
  <p>And we're suppose to use the <code>IndexOf</code> method on the address. </p>
  
  <p>I understand that <code>IndexOf</code> returns the position of a character and the number of characters. </p>
  
  <p>What would be the purpose of using the <code>IndexOf</code> method on the address in this instance? </p>
  
  <p>I don't understand what I would be searching for when the user types in it's address that's going to be numbers and string characters. </p>
  
  <p>I think I understand what the <code>IndexOf</code> method does, somewhat, but why and what would I use it to achieve?</p>