Reading back his post, I suppose you are right.
But he also asked the fastest way and that would be without the if statement.
Just trim or substring the end result would be fastest, and while we are talking about best ways: Never forget to cleanup all your dynamic stuff
Casper.