title: FInding a letter in VB script
body: <p>I'm making a scan line that uses the account number to figure out what the check digit should be. Some accounts have letters instead of numbers.  I need to replace letters with numbers.  I wrote something similar in C# but cannot figure out how to do it in VB Script.  Here is my c# code</p>
  
  <pre><code>    if(account2.Contains("T"))
         {
             int x = account2.IndexOf("T");
             temp = account2.Substring(2+x);
             account2 = ("3" + temp);
             Console.WriteLine(account2);
             Console.ReadLine();
         }
         if (account2.Contains("M"))
         {
             int x = account2.IndexOf("M");
             temp = account2.Substring(1+x);
             account2 = ("2" + temp);
             Console.WriteLine(account2);
             Console.ReadLine();
         }
  </code></pre>