---
title: "JavaScript去掉双引号"
author: "hellostory"
date: "2010-09-06T16:41:00Z"
tags: []
slug: "javascript"
draft: false
lastmod: "2010-09-06T16:41:00Z"
id: 964196
url: "https://hellostory.iteye.com/blog/964196"
---

代码如下：

运行前：

字符串str内容如下：

"小明","20"

"小东","30"

运行后：

字符串str内容如下：

小明,20

小东,30