Function Filter(FilterWhat As String, FilterString as String) as String
Dim i as Long
For i=1 to len(FilterWhat)
If Instr(FilterString, Mid$(FilterWhat, i, 1))>0 Then Filter=Filter + Mid$(FilterWhat, i, 1)
Next
End Function
a = Filter("skdfjgn kdfg допр ывао!94867", "0123456789")
Сейчас этот форум просматривают: AhrefsBot, Yandex-бот и гости: 90