stripStart and stripEnd methods changed to fulfill their javadoc. Passing in strip("-+-+FOO---", "+-") will result in FOO.