Trim quoted string