Answers for "how to get a value from string before comma and add to array and remove from string c#"

C#
1

remove comma from string c#

string data="DIKhan,Pakistan";
//Removing All Comma's from String
string address=data.Replace(","," ");
// OutPut will be: DIKhan Pakistan
Posted by: Guest on December-16-2020

Code answers related to "how to get a value from string before comma and add to array and remove from string c#"

C# Answers by Framework

Browse Popular Code Answers by Language