Topic: 怎样用空行来分割文本? |
Print this page |
1.怎样用空行来分割文本? | Copy to clipboard |
Posted by: from_cjsdn Posted on: 2004-07-16 10:33 12345677890 1234567890 1231111111111 是个文件里的文本 如果把他读入String s分成3个字符串 s.split("xxxx"); xxxx用什么呢? |
2.Re:怎样用空行来分割文本? [Re: from_cjsdn] | Copy to clipboard |
Posted by: wmgreat Posted on: 2004-07-17 22:50 readline方法 |
3.Re:怎样用空行来分割文本? [Re: from_cjsdn] | Copy to clipboard |
Posted by: alin_ass Posted on: 2004-07-18 00:22 s.split("\n"); 也可 |
4.Re:怎样用空行来分割文本? [Re: from_cjsdn] | Copy to clipboard |
Posted by: alin_ass Posted on: 2004-07-18 00:31 我觉得单个字符这样蛮好的,比较快
|
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |