📜  c# 从索引处的字符串中删除字符 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:39.158000             🧑  作者: Mango

代码示例2
// our string
string myString = "test@gmail.com";

// lets remove the @ symbol
// here we replace our "@" in our string to an empty string 
string newString = myString.Replace("@", string.empty);
 
Console.Writeline(newString);
// output should look like this: testgmail.com