title: Remove duplicates from an array
body: <p>How can I remove duplicates from an array in vbscript?</p>
  
  <p>Code:   </p>
  
  <pre><code>     dim XObj(100),xObjXml
        for s=0 to xObjXml.length-1      
        XObj(s)=xObjXml(s).getAttribute("xsx")
        next
  </code></pre>
  
  <p>Please suggest a better answer for this.</p>