How to remove all commas from a string c# 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