parse quoted string