don't both do strchr and strsep