我想将文本文件拆分为字符串,请告诉我如何拆分它。例如,下面的文本文件中给出:如何将文本分割为字符串?
this course in, a style i
will have to a modern, language that encourages
writing clean; and elegant code in a good
是否有可能由2个字的文本文件拆分成字符串像下面的,例如:
this course
in a
style i
will have
to a
modern language
that encourages
writing clean
and elegant
code in
a good
能否请您给我一些提示?先谢谢你。
如何大约奇数个第一一行字???你将如何将它们拆分成两个单词分割机制? – Umer
难道不可能转到下一行并将其拆分。例如, 这辆车是红色// 和昂贵 然后如果我们通过3个字拆分它,然后,输出类似以下 这辆车是// 红色和 在这里,我注意到新行贵“//” 。 – user1002579