that should work 100%, try trim though
trim(data)