Hi!

I'm looking for a way to copy the values stored in strWords into a hashtable instead of showing them in the TextBox2.

I know that there's HashTableName.CopyTo but I just can't find something similar that suits my needs or am I just missing something?

VB Code:
  1. Dim String1 As String
  2.      Dim String2 As String
  3.      Dim i As Short
  4.  
  5.         String1 = TextBox1.Text
  6.        
  7. MsgBox(String1)
  8.  
  9.         String2 = String1.Replace(" ", "")
  10.  
  11.         String2 = String2.Replace(".", ",")
  12.  
  13.         strWords = Split(String2, ",")
  14.        
  15. MsgBox(String2)
  16.  
  17.         For i = 0 To UBound(strWords)
  18.             TextBox2.Text = TextBox2.Text & strWords(i) & vbCrLf
  19.         Next