split to remove all spaces