remove commas from string c# split code example
Example: remove comma from string c#
string data="DIKhan,Pakistan";
//Removing All Comma's from String
string address=data.Replace(","," ");
// OutPut will be: DIKhan Pakistan
string data="DIKhan,Pakistan";
//Removing All Comma's from String
string address=data.Replace(","," ");
// OutPut will be: DIKhan Pakistan