The first one looks a lot more readable and maintainable. As for speed, you would have to use something like Benchmark to determine which is fastest.
In reply to Re^3: Multiple / Mapping Search and Replace
by jwkrahn
in thread Multiple / Mapping Search and Replace
by VinsWorldcom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |