RegEx Split method in C# is returning an empty string because of the specified pattern at EOF. How can I avoid this behaviour?

后端 未结 0 1390
轮回少年
轮回少年 2020-12-02 13:17

I\'ve built this method which accepts a stream of text with \\n characters and discriminates each line in a string array:

private static string[] SerialToLine         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题