Anil Kumar

Anil Kumar

  • 649
  • 1.3k
  • 134.3k

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)