XML文件中的某个结点的Text为多行文本,比如:
<Title>Hello, this is the first line.
this is the second line.
</Title>
结果用TXMLDocument读出以后的字符串却不是多行了,
而是变成单行:Hello, this is the first line.this is the second line.
我是将读出的文本赋给Memo.Text的,可就是一直是单行的.怎么会把换行回车忽略掉呢?如何保留回车换行???
<Title>Hello, this is the first line.
this is the second line.
</Title>
结果用TXMLDocument读出以后的字符串却不是多行了,
而是变成单行:Hello, this is the first line.this is the second line.
我是将读出的文本赋给Memo.Text的,可就是一直是单行的.怎么会把换行回车忽略掉呢?如何保留回车换行???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货