📜  如何在c#代码示例中拆分字符串

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

代码示例1
char[] separator = new[] { ',' };
var result = aiTranslatedString.Split(separator, StringSplitOptions.RemoveEmptyEntries).ToList();