I need to replace some spaces with an underscore (i.e. "PM HD PSP" > "PM_HD_PSP")
Here's what I've tried so far:
private string NombreExcel3(string excel)
{
MessageBox.Show(excel);
excel.Replace(' ','_');
MessageBox.Show(excel);
return excel;
}
Replace
to a variable.