Hi all,
We receive a string ( copy and paste) into an MLE.
From this mle string we need to filter out all the ascii values higher than 126.
We have the solution , something like this
string ls_a
ls_a = mle_1.text
for i = 1 to Len(ls_a)
character = Mid(ls_a,1)
If Asc(character) > 0 or ASC(character) > 126 Then
Else
ls_a = Replace(ls_a, i, 1, " " )
End If
yield()
next
So far so good , but try this with a 5.000.000 characters :)
Its taking hours :) How can i speed up this process ? Is there any way i can use a find function , anything ? Other possible solutions ? And no , i am not in charge of the data being copied in our app... I just need to filter it out.
TIA
John