mkrausnick
Programmer
I wrote a routine that filters names, removing garbage characters. For the first crack at it, I just wrote a series of STRTRAN()'s, one per character I want to remove. The problem is that it's waaaay too slow. Only a few of the names have garbage characters, and when I'm processing 10's or 100's of thousands at a time, it just takes too long.
Would it be faster if I use this construction?:
rather than unconditionally doing the strtran()? Or is there a faster technique?
Thanks for your help.
Mike Krausnick
Dublin, California
Would it be faster if I use this construction?:
Code:
if '*' $ lcName
lcName = strtran(lcName,'*','')
endif
Thanks for your help.
Mike Krausnick
Dublin, California