Fast way remove outside array

  • Thread starter Thread starter monemas
  • Start date Start date
M

monemas

Guest
hi
I load the data into datatable .
I want to delete any char outside the array from dt item 0 .
I don't want to place an iterative loop inside the existing one to delete the char from items


Dim letter As Char() = {"h", "e", "i", "r", "o"}
For i = 0 To dt.Rows.Count - 1
Datag_Clin.Rows.Add(New String() {dt.Rows(i).Item(0).ToString})
Next

Continue reading...
 
Back
Top