Search code examples
stringasp.net-mvc-3toarray

how convert string to array MVC3 controller


how string

 [null,null,"3",null,null,null]

convert to array? in MVC3 (controller)


Solution

  •   string[] result = " [null,null,'3',null,null,null]".Replace("[","").Replace("]","").Split(',');