hey everyone in daniweb. i have a problem here.
let say i have 2 arrays one is a and second is b. how do i compare each of them and insert to new array c?
i do it like this
Dim a As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" Dim i As Integer = 0 Dim arr(26) As Char For Each c As Char Ina arr(i) = c i += 1 Next Dim b As String = "RAHMAN" Dim l As Integer = b.Length - 1 Dim newArray(l) As Char i = 0 For Each c As Char In b newArray(i) = c i += 1 Next
the problem is i want to store in new array cArray() = 'R', 'A', 'H', 'M', 'N', 'B', 'C' ,and so on.....
how do i do this? this is for my assignments on permutation cipher program.