Also, you made the point that none of my input ends with spaces. I think that's generally true in real life usage too.
Then shouldn't you be benchmarking space detection?
In reply to Re^3: How do I quickly strip blank space from the beginning/end of a string?
by ikegami
in thread How do I quickly strip blank space from the beginning/end of a string?
by blahblahblah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |