【发布时间】:2013-03-05 01:27:16
【问题描述】:
所以我的文本文件包含:
Harry Potter and the Deathly Hallows###J. K. Rowling###2007
而且我必须以如下形式输出到 FreePascal 程序
J.K.Rowling "Harry Potter and the Deathly Hallows" 2007 year
我知道如何从文件中读取,但我不知道如何使它像以前的表单一样
有人可以帮助我吗?非常感谢。
【问题讨论】:
-
到目前为止你尝试过什么?我想这是你的功课。将字符串拆分为标记,并将 ### 中包含的标记放在前面。关于拆分字符串见lazarus.freepascal.org/index.php?topic=9789.0
标签: pascal freepascal