标签: string asp.net-mvc-3 toarray
如何字符串
[null,null,"3",null,null,null]
转换为数组?在MVC3(控制器)
答案 0 :(得分:2)
string[] result = " [null,null,'3',null,null,null]".Replace("[","").Replace("]","").Split(',');