strip space and split on comma for list