Anil Kumar

Anil Kumar

  • 723
  • 1.3k
  • 133.6k

How to convert coma separate string into json array

Aug 15 2019 11:21 PM
Hi i have string like "12,23,45" from database now i have to convert that into json array to send in webapi parameter but when i convert that into array i got result like
 
i have string like "12,23,54" in my database  
 
 
  my result:   ["\"93\",\"94\""]
 
but i need like :   ["93","94"]
 
Please help 
 
 
 

Answers (8)