quote:Originally posted by Mike
But cookie's code is slower, because he didn't include an $ in his replace function, so VB thinks that it should be used as a variant
Strings are faster than variants, because, variants can be anything, so they use more memory (cookie, please correct me on this one )
You're absolutely correct. In my haste I forgot the $...