标签: split
thumbnail

c#怎么用split过滤多个空字符串

您可以使用StringSplitOptions.RemoveEmptyEntries参数来过滤多个空字符串。以下是使用split方法过滤多个空字符串的示例代码: string input = "Hello,,……