title: How to split a string in classic asp
body: <p>I am trying to split a string in a classic asp application, have below code in the page and it does not seem to work. There is another question which looks similar but deals with different type of problem, I have already been to the answers there and they don't help. Any help would be appreciated.</p>
  
  <pre><code>&lt;% 
  Dim SelectedCountries,CitizenshipCountry, Count 
  SelectedCountries = "IN, CH, US"    
  CitizenshipCountry = Split(SelectedCountries,", ")
  Count = UBound(CitizenshipCountry) + 1 
  Response.Write(CitizenshipCountry[0])
  Response.End
  %&gt;
  </code></pre>