【发布时间】:2010-08-24 08:10:04
【问题描述】:
如何将具有\r\n 的字符串转换为行?
例如,取这个字符串:
string source = "hello \r\n this is a test \r\n tested";
以及如何将其转换为:
string[] lines ;
//lines[0] = hello;
//lines[1] = this is a test;
//lines[2] = tested ;
【问题讨论】:
标签: c#