Hi
I would do something like this. Lots of room for improvements as I don't really know what you are planning on.
Public Class Form1
Dim teststring As String = "1 2A" & Chr(133) & "BA C" & Chr(146) & "de fA"
Dim wanted() As Integer = {65, 133, 146}
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim OutString As String = GetChars(teststring)
Stop
' hover over the OutString variable above to see what it holds.
' Here it is "A…A’A"
End Sub
Function GetChars(s As String) As String
Dim newstring As String = Nothing
For Each c As Char In s
If wanted.Contains(Asc(c)) Then newstring &= c
Next
Return newstring
End Function
End Class