string.Trim, TrimLeft, TrimRight optimizations

And removed a few stray characters in string.Explode & Replace