strip whitespace from split strings #349