ignores white spaces around a sentence