Remove whitespace using the strip method