Swap trim method for strip in String