Hi ,
I have a strng like this : "["1F650140","BD02FC0E"]" .
I need to remove special characters like "[", "]" and get comma sepeared values.
Thanks,
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit KumarRank #459 · 5.4K reputationPosted Feb 15, 2017, 10:30 PM EST
Amit GuptaRank #190 · 12.8K reputationPosted Feb 15, 2017, 10:46 PM EST
Sujeet SumanRank #790 · 2.9K reputationPosted Feb 16, 2017, 12:15 AM EST
Rafnas T PRank #280 · 8.8K reputationPosted Feb 16, 2017, 12:40 AM EST
string[] strings= str.Replace("[", "").Replace("]", "").Replace("\"","").Split(',');